jQuery and PHP/Oracle interaction
Hi everyone,
I'm building a small web system for a group project in my database class. Basically how this works is someone searches for flights by departure city, destination city, date, and time. From there, results are shown in a table and users should have the ability to select which flight they want using a button next to each table entry. Then users input their personal data (first name, last name, age, number of bags) and then submit that form to be taken to a confirmation page. As of now, I've got all four steps on one page, so that means 4 forms. I'm using jQuery to go through each step. Once one form is completed, it disappears and the next shows up. The info from each form will be posted to a PHP processing page using AJAX.
The problem I've run into didn't really occur to me when I first planned this out, though. I'm not 100% sure if I can take the search results from the table and pass them through jQuery to the next steps. We are using Oracle to store all the information, so we would send a query through with PHP for the search and it would return all the flights that match the search and then populate the results table with a loop. Whichever flight the user chooses, I would have to take that information from the results table and pass it through to the next steps with jQuery. Is this even possible?
Thanks so very much.