Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Test If MySQL Table Exists With PHP.

DZone's Guide to

Test If MySQL Table Exists With PHP.

·
Free Resource
Tests if table exists in MySQL database  



  


Drakxter, http://www.oxyscripts.com/itemdisplay.php?id=1003&code=yes

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

And a shorter way. In the above example mysql_list_tables is deprecated in favor of mysql_query().



  


php.net
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}