function biblio_db_field_exists in Bibliography Module 6.2
1 call to biblio_db_field_exists()
File
- ./
biblio.install, line 333 - Install, update, and uninstall functions for the biblio module.
Code
function biblio_db_field_exists($table, $column) {
$sql = "SELECT 1 FROM information_schema.columns WHERE table_name='%s' and column_name='%s'";
return (bool) db_result(db_query($sql, $table, $column));
}