How would I search to see if a table exsists in a database without getting a tables does not exsist error?
Hiya, this should work
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; }#end while return false; }#end function
-Mike
so $table would be the table I am trying to find right?
yes $table is your table and $db is your database