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 Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.