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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Database listing

Status
Not open for further replies.

cdpettet

Programmer
Mar 1, 2003
2
GB
I am using Apache 2 to run a web site and I need to know what the PHP MySQL command is for listing databases.

What I am intending to do is, once connected to the server, list all the databases for administration. The user then clicks the relevant database link to attach to and can then carry out the administration.

With MySQL it's easy, you just use SHOW databases. However, how does this get translated into PHP?

I am running MySQL 3.23.55 on Windows XP with PHP version 4.3.1.

Any help gladly received.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top