Jump to content


Photo

SHOW tables


  • Please log in to reply
1 reply to this topic

#1 SOL-ion

SOL-ion
  • New Members
  • Pip
  • Newbie
  • 1 posts
  • LocationUK

Posted 15 December 2003 - 05:32 PM

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

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 15 December 2003 - 05:52 PM

Have a look at this

http://www.phpfreaks...1971&highlight=

Next time before you post we recommend you to use the search.

Thanks!
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users