Jump to content


Photo

retrieving tables in a database?


  • Please log in to reply
1 reply to this topic

#1 wwfc_barmy_army

wwfc_barmy_army
  • Members
  • PipPipPip
  • Advanced Member
  • 320 posts

Posted 09 October 2006 - 09:55 PM

Is there a way to get the tables in a database and list them? Is there any issues with doing this?

Thanks.

Peter.

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 09 October 2006 - 10:28 PM

$query = "SHOW tables ...";

http://dev.mysql.com...how-tables.html
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users