farnoise Posted October 31, 2009 Share Posted October 31, 2009 Hi, Here is my question I looked for to much but no success, I want to create a form that ask user to input his wild-card,when he press search it start searching my DB_table and find those results and show them in same page (Or other page doesn't matter) and if no result found give a "NO RESULT FOUND" message. Example: I'm looking for somebody in my database through his phone number, then I'll type his phone number: 88990067 if my query successfully returned I'll see his name if not I'll see "Error message" Thank you guys Link to comment https://forums.phpfreaks.com/topic/179758-php-sql-search-the-database-and-show-the-result/ Share on other sites More sharing options...
Mchl Posted October 31, 2009 Share Posted October 31, 2009 http://www.phpfreaks.com/tutorial/simple-sql-search Link to comment https://forums.phpfreaks.com/topic/179758-php-sql-search-the-database-and-show-the-result/#findComment-948400 Share on other sites More sharing options...
farnoise Posted November 1, 2009 Author Share Posted November 1, 2009 No, I tried this tuterial before. It's not working at all. all im getting is an error messages. Plus when I want to copy the code into my programming program, its in a meesed up format. Link to comment https://forums.phpfreaks.com/topic/179758-php-sql-search-the-database-and-show-the-result/#findComment-948697 Share on other sites More sharing options...
Mchl Posted November 1, 2009 Share Posted November 1, 2009 It is not a 'copy-and-paste-into-your-app' tutorial. You should follow instructions in it, to create a separate mini app, that will teach you how to implement SQL search in your application. DId you do it this way? If no, try it. If yes, what errors did you get? Link to comment https://forums.phpfreaks.com/topic/179758-php-sql-search-the-database-and-show-the-result/#findComment-948702 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.