Jump to content


Photo

A Way to print out all of the tables/databases


  • Please log in to reply
1 reply to this topic

#1 Random

Random
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationIndiana

Posted 31 March 2003 - 11:11 PM

Is there a way to print out on a page thruogh a PHP script all of the Databases and Tables in a MySQL server that is under a specific username/password? Thanks in advance

#2 DocSeuss

DocSeuss
  • Members
  • PipPipPip
  • Advanced Member
  • 73 posts
  • LocationTexas, USA

Posted 02 April 2003 - 06:48 AM

http://www.php.net/m...n/ref.mysql.php


specifically

mysql_list_dbs();
mysql_list_tables();
"Unlimited budget? Great, for $5,000,0000 we will run your ad banner for one year"  ----Rasmus Lerdorf




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users