Umil.table column exists

umil::table_column_exists –– Check if a column exists on a database table using the Umil Library.

Description
string umil::table_column_exists ( string $table_name, string $column_name )

Return Values
True if the column on the database table exists False if the column on the database table does not exist

Example #1
Check if a column named 'test_id' exists on the database table named 'phpbb_test' $umil->table_column_exists('phpbb_test', 'test_id');

Example #2
Check if a column named 'user_foo' exists on the database table named 'phpbb_users' $umil->table_column_exists(USERS_TABLE, 'user_foo');