Jump to content

radio buttons that remember.


poleposters

Recommended Posts

On my site I have links across the top of my page for certain categories.

 

Each link opens up a search form for that category. The search forms are essentially the same. The user selects their location and chooses their sex, male or female using radio buttons.

 

What I'd like to do. Is for the search forms to remember the sex of the user so they don't have to select the radio buttons every time they visit another category link.

 

So if they visit category one, select their sex and perform a search. I want to store the radio button input. So if they want to visit category two.The form still holds the same preferences from the category one form.

 

Are sessions the best way to go? Is it too much of a strain on resources to create a session on every search?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/134138-radio-buttons-that-remember/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.