Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
I'm not going to do your requirement for you but:
1) You transmit infos from a page to another page using forms.
declare a form with input=radio in your categories.php page and have it to send them to your catalog page
2) Depending of the form method you have used, you will find in $_POST or $_GET the values the user submitted in forms, and it's up to you to process it.
so, for instance, get the value of the field named "cat".
then you craft a SQL query with the value of that category, and iterate over the rows returned by the db to display them one by one.
3) don't forget a link to get back at step 2, to allow the user to modify his choices
and it's all. with experience, it's a 10 minute job.
__________________
Only a biker knows why a dog sticks his head out the window.
|