PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm trying to display different results depending on which radio boxes are checked. I want to reload the page while passing variables that will steer the code to the appropriate SELECT statement.
I'm trying to modify my current code, but since I'm hitting walls, I might have to rewrite the original.
I've looked into parse_str but it isn't receiving the variables. I'm sure it works, but I think the problem is in how I'm sending the variables thru the URL.
Walkthrough:
User loads php page that lists all records in database.
User wants to display only the Red ones and without preview photos.
User selects the appropriate radio buttons and clicks Submit.
Code receives color=red and photos=no.
Code brings up the right SELECT version.
Page reloads with the sorted information.
I've done this many times in ColdFusion, but I think I'm missing something in PHP.