Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

knowing whether mysql table exists

Status
Not open for further replies.

math

Programmer
Mar 21, 2001
56
BE
Hi,

As my title suggests, How can I find out whether a table is my mysql database exists? if not, I have to create it, if it exists I can use it...

I need to know this because I have to use dynamic tablenames in my database...

Is there a way to search for a tabelname?
$exists = mysql_table_exists($tablename); ????????

or something??

Thanx in Advance,
math
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top