Jump to content

Advice on search feature


graham23s

Recommended Posts

Hi Guys,

 

i have my search feature working great , you can search various firlds male or female etc and it brings back results, what i'm not to sure of is how to "Search All" either male or female for example the code for that is:

 

  echo ("<tr>");
  echo ("<td colspan=\"2\" class=\"header_boxes\" align=\"left\"><span class=\"prof_head\">Search My Live Audition - [Full Search]</span></td>");
  echo ("</tr>");
  echo ("<td class=\"sub_table\" align=\"right\"><b>I'm looking for a</b></td><td class=\"sub_table\" align=\"left\"><select name=\"gender\"><option value=\"0\">-- Search All --</option>");
  echo ("<option value=\"M\">Male</option><option value=\"F\">Female</option></select>");
  echo ("</td>");

 

just basic html really, it give the GET either a M or F to search in mysql with, i have given the search all a default of 0, but im lost as to what to do with it in regards to searching

 

any advice would be great

 

cheers guys

 

Graham

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.