I have two mysql database tables:
1) CARS TABLE: with following columns i)car's name and ii)manufacturer's name.
2) RECORDS TABLE: with the following columns i)name of the user ii)rating given iii)car's name.
Now i want the each user to give rating( rating will be a text input box) to each and every car in two ways.
1) ONE BY ONE: The user enters rating for the first car from the cars table. He clicks next and he goes to another page where he can enter the rating for the second car from the cars table, while the first rating is saved to the database. I am not able to figure out how to show the rating page one by one. Using $_SESSION?
2)ALL AT ONCE: If i want the user to enter the give ratings to all the cars at once then how do i identify each and every rating on the processing page once the user enters the rating and clicks submit?
thanks in advance.