Jump to content

SHOW tables


SOL-ion

Recommended Posts

Hi all,

 

I am trying to find out whether a particular table exsists from within a PHP script. I want to query mySQL with something like SHOW tables WHERE table_name=\'users\'. This of course does not work. Does anybody know how I can find out whether the table users exists from within my script?

 

 

Cheers

 

SOL

Link to comment
https://forums.phpfreaks.com/topic/1505-show-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.