OK that probably sounded a bit confusing but what I have is a table that spits out courses locations and dates depending on what the user chooses. I than want the user to go through the fields and than on the 3rd submit button I have the course information displayed to them. I’m asking how in php i can take the echo from the first query and use that to upload it to the other table. Would I just be using MySQL Links?
Share
If you have multiple pages, you can use
$_SESSIONvariables to store the data for when you’re ready for it.If you have one page, with multiple forms, you can use
<input type='hidden' />fields to hold the data until you’re ready for it (it will be stored in$_POSTeach time you submit the form).Then, when you’re ready, pull the info out of the
$_SESSIONor$_POSTdata and run your query.For the $_POST solution: