09-29-2007, 11:50 PM
|
#5 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
The mysql_fetch_row function was depreciated a long time ago. It's better to do a normal query and check the result:
PHP Code:
if(!mysql_num_rows(mysql_query("SHOW TABLES LIKE 'myTable';"))) { echo 'Table myTable does not exist.'; }
|
|
|
|