Determine whether column exists in a table.
column_exists( string $table, string $column [, bool $add_prefix ] ) : bool
$table (string) (Required) Table name.
$column (string) (Required) Column name.
$add_prefix (bool) (Optional) Delimiter. Default value: true
(bool)
if (column_exists(DB_USERS, 'user_name')) {
//
}