Neo
05-08-2002, 02:53 AM
Can someone help me figure out how to make this work for VB
function does_table_exist($table, $db) {
$result = $mysql_list_tables($db);
while (list($arr_tab) = mysql_fetch_array($result)) {
if($arr_tab==$table)
return true;
} else {
return false;
}
}
}
Thanks for your time.
function does_table_exist($table, $db) {
$result = $mysql_list_tables($db);
while (list($arr_tab) = mysql_fetch_array($result)) {
if($arr_tab==$table)
return true;
} else {
return false;
}
}
}
Thanks for your time.