mike2325 Posted March 15, 2010 Share Posted March 15, 2010 Hi, I have a page which displays database results from a phpmyadmin database in a table if I hard code a search e.g. $SQLSearch="SELECT * FROM car WHERE vehicle='Ferrari'". This would show a list of every vehicle is a Ferrari. However, I want to put a text box on the web page so that the database is searched for the value of the textbox. I have tried with a few ideas but I am still struggling. Is there an easy way to do this? Thanks Link to comment https://forums.phpfreaks.com/topic/195369-searching-a-database-on-phpmyadmin-using-a-textbox-value/ Share on other sites More sharing options...
litebearer Posted March 15, 2010 Share Posted March 15, 2010 Are you wanting to search a particular field(s) in the database? AND what happens if there is no match? (do you add the entry as a new item?) Perhpas if you elucidate unon the structure and content of the data base AND show us some of the code you have tried we can be more helpful Link to comment https://forums.phpfreaks.com/topic/195369-searching-a-database-on-phpmyadmin-using-a-textbox-value/#findComment-1026695 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.