bigrossco Posted February 2, 2007 Share Posted February 2, 2007 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 More sharing options...
obsidian Posted February 2, 2007 Share Posted February 2, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.