Home › Forums › Back End › Drop Down Executes Query On Post? › Reply To: Drop Down Executes Query On Post?
May 19, 2014 at 7:43 pm #170637
Let’s stop for a moment and look at the logic behind what you’re doing.
- user chooses a rating and submits it.
- you check which rating the user selected, and choose the appropriate query to find movies with that rating.
- query the database
- loop over results; build HTML describing each matching movie
- display the page, with the results included.
Is this correct?