<SELECT name="txtServic es" size="3" multiple>
<OPTION value="Massage" >Massage</OPTION>
<OPTION value="Facials" >Facials</OPTION>
<OPTION value="Wet & Dry Body Treatments">Wet & Dry Body
Treatments</OPTION>
<OPTION value="Medical Treatments">Med ical Treatments</OPTION>
<OPTION value="Nails, Pedicures, Manicures">Nail s, Pedicures,
Manicures</OPTION>
<OPTION value="Hair">Ha ir</OPTION>
<OPTION value="Pools">P ools</OPTION>
<OPTION value="Waxing"> Waxing</OPTION>
<OPTION value="Make-up">Make-up</OPTION>
<OPTION value="Aromathe rapy">Aromather apy</OPTION>
<OPTION value="Specialt ies">Specialtie s</OPTION>
<OPTION value="Tinting" >Tinting</OPTION>
<OPTION value="Fitness & Nutritional Counselling">Fi tness &
Nutritional Counselling</OPTION>
</SELECT></TD>
Since this is a muliple select box the values are passed to the search
string comma delimited IE: facials, hair, pools etc
Can anyone tell me how to parse this string and then build a select
statement whereby I can search for Facials OR Hair OR pools
I've been searching all over and can't find anything that does just this.
Thanks in advance
<OPTION value="Massage" >Massage</OPTION>
<OPTION value="Facials" >Facials</OPTION>
<OPTION value="Wet & Dry Body Treatments">Wet & Dry Body
Treatments</OPTION>
<OPTION value="Medical Treatments">Med ical Treatments</OPTION>
<OPTION value="Nails, Pedicures, Manicures">Nail s, Pedicures,
Manicures</OPTION>
<OPTION value="Hair">Ha ir</OPTION>
<OPTION value="Pools">P ools</OPTION>
<OPTION value="Waxing"> Waxing</OPTION>
<OPTION value="Make-up">Make-up</OPTION>
<OPTION value="Aromathe rapy">Aromather apy</OPTION>
<OPTION value="Specialt ies">Specialtie s</OPTION>
<OPTION value="Tinting" >Tinting</OPTION>
<OPTION value="Fitness & Nutritional Counselling">Fi tness &
Nutritional Counselling</OPTION>
</SELECT></TD>
Since this is a muliple select box the values are passed to the search
string comma delimited IE: facials, hair, pools etc
Can anyone tell me how to parse this string and then build a select
statement whereby I can search for Facials OR Hair OR pools
I've been searching all over and can't find anything that does just this.
Thanks in advance
Comment