The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Drop Down Executes Query On Post? Reply To: Drop Down Executes Query On Post?


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?