PHP Interface to MySQL....

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
struggling_student
Forum Newbie
Posts: 15
Joined: Mon Feb 23, 2004 3:51 pm

PHP Interface to MySQL....

Post by struggling_student »

Hi

I need to list databases and tables available to a user once they have logged into my PHP front end. I have managed to do this fairly successfully using the mysql_list_dbs and mysql_list tables functions but i want to be able to click on the table names which are returned and display that table's contents. Any help would be greatly appreciated!!

Thanks in advance

Liz
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

struggling_student
Forum Newbie
Posts: 15
Joined: Mon Feb 23, 2004 3:51 pm

Post by struggling_student »

That is along the lines of what I want to do but I have to actually write the code for my dissertation so cannot use phpmyadmin. I have successfully enabled users to enter SQL queries but am having issues with enabling them to view a table by clicking on the name after the table name was retrieved using mysql_list tables.

Liz
Post Reply