PHP form loop for a game?

  • Thread starter Thread starter Johnny
  • Start date Start date
J

Johnny

Guest
I'm creating a lemonade stand style game using php however have become stumped.

I need to take the "price" and "quantity" for a given day from the user and turn them into variables so that the maths can be done for the day's sales.

I want this information to be retrieved from a form once a user hits a "submit" button, and after that I want the script to loop so that it starts again, except with day 2.

What's the best way to do this?
 
Back
Top