In my attempt to be more organized I setup my database like this:
DB: -Table1 -Table2 -Table3 -Table4
and each table has 4 forms for information.
How would I make a form in PHP to choose the table to enter the information into it?
choose table:<br> <select name="table"> <option>Table1</option> <option>Table2</option> <option>Table3</option> <option>Table4</option> </select>
hmm so if I just make that form with the name "table" will this query work and select the table to put the information in?
$query = "INSERT INTO table()
table
Insert into $_POST['table']
But you should make sure that $_POST['table'] contains the name of a genuine table that you want people to be inserting stuff into.