Hi there. Me again.. on my site (dating site) I have an advanced search feature which lets people get specific about their criteria. One thing I don't have I'd LIKE to have is checkboxes instead of drop downs.
Lets say I'm giving the user the option of choosing the hair colour.. at the moment I have a drop down box listing out the 8 different hair colour types.. they only have 1 choice.. then I carry that value into my stored proc and return all matches with only that hair colour.
What i'd really like to do is have checkboxes allowing people to tick multiple hair colours for their results. THe only problem is I have no idea how to pass this info and write it into my SQL query in the stored proc?
Can anyone give me some suggestions on how this is done?
Lets say I'm giving the user the option of choosing the hair colour.. at the moment I have a drop down box listing out the 8 different hair colour types.. they only have 1 choice.. then I carry that value into my stored proc and return all matches with only that hair colour.
What i'd really like to do is have checkboxes allowing people to tick multiple hair colours for their results. THe only problem is I have no idea how to pass this info and write it into my SQL query in the stored proc?
Can anyone give me some suggestions on how this is done?