Return to Snippet

Revision: 49420
at July 21, 2011 20:33 by TheJasonParker


Initial Code
if( mysql_num_rows( mysql_query("SHOW TABLES LIKE '".$table."'")))
{
 //...
}

Initial URL

                                

Initial Description

                                

Initial Title
How to check to see if a table exists in a mySQL database.

Initial Tags
mysql, php

Initial Language
PHP