Jump to content

Search


bigrossco

Recommended Posts

I want to be able to search for a client on my MySQL Database using PHP.

 

I know how to get a box and to type in someting i.e. their name and get it from the db but what i want to do is:

 

able to type something in to the input box and also select what it is your searching for i.e. customers id number, customer name or business name

 

Thank you for your help in advance,

 

BigRossCo

Link to comment
https://forums.phpfreaks.com/topic/36762-search/
Share on other sites

Basically, your drop down list needs to refer to the column of your database you want to search, and then use the text box to compare against the values in the column. What you need to decide is whether or not you want to match partial values or not as well.

Link to comment
https://forums.phpfreaks.com/topic/36762-search/#findComment-175339
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.