I think I need to state my problem a bit more in detail.
I created an event and ticket tracking system for my client a year ago. It took about 6 months to create from scratch. Now I am in the process of adding more functionality to the program. My client has requested that I add the feature of updating more than one field and record upon one submit, which I have now accomplished.
Now here is the problem. To make things easier I have created a form which has only one text field in it. My client will simply type the name of a new entertainment event in this text field and upon clicking the submit button a new table with the same name will be created in the database and all of the data from the Master Table will be dumped into this new table. This is working fine as well. Because my client will be adding all the event tables to the database herself, I could not possibly know what all the tables are in advance. This is why I need to be able to dynamically have a list of all tables created with each one being a link which when clicked will take the user to a details page where they can view and update records in the chosen table.
I have already created a details page which currently only shows the records from the Master Table. Therefore I beleive that the name of the table must be passed as a variable to the details page, and on the details page a "select * from $varname" statement is written. Where $varname is the variable being passed from the tables list.
I have everything working just fine but can not figure out how to create the tables list dynamically with links to the details page to show the correct record list from the choosen table.