Quick Search:
 
 PHP Code: Test if mySQL table exists Jump to:  
Category: >> PHP Code >> Test if mySQL table exists  

<< lastnext >>

Snippet Name: Test if mySQL table exists

Description: This script just tests to see if a given table exists in mySQL database.

Comment: (none)

Language: PHP, MYSQL
Highlight Mode: PHP
Last Modified: March 01st, 2009

<?PHP
 
IF( mysql_num_rows( mysql_query("SHOW TABLES LIKE '".$table."'"))){
 
// your code here......
 
}
 
?>


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org