
August 19th, 2004, 10:38 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
PHP and MYSQL Database Tables
What I am wanting to do is create a dropdown box with all the tables that are listed in a particular database. I have a form that I can add data to a table in the database and I would like to be able to choose the table that the data gets added to. EXAMPLE : I have a database named Test. In this database I have table A, B, and C. The tables represent locations but the columns inside the table contain the same data : First Name, Last Name, and Phone Number. The form is generic populating the fields First Name, Last Name, and Phone Number. Now I would like a drop down at the top that I can select a table from to populate the data. I hope this makes sencebut if not I will try to explain a little better if needed. Thanks in advance for any help provided.
|