PHP Tutorials: Create a Search Engine (Part 5)
Create a search engine for any purpose. This search engine can be implemented anywhere to search your website content, or to search pages on the web.
Tagged with: ask, Engine, files, find, for, google, help, jeeves, learn, Learning, lesson, lessons, local, Me, php, programming, Search, teach, teaching, tutorial, tutorials, url, video, videos, yahooShare this:
Read also:
- Google's Matt Cutts gives tips to small business owners
- @URNOBODY@ Seo Ryung - 그대 부르면 (Newage Ver.)
- [Teaser HD 100427]Seo In Gook (서인국) - 컴백 (Comeback) D-10 & D-9
- Organic SEO for Los Angeles search engine optimization (SEO)
- Jessica(SNSD) & Seo Ji-Seok Cut @ Strong Heart(Nov 17, 2009)
- SEO OPTIMIZATION
March 24th, 2010 at 2:08 pm
thanks great tutorial 5* subbed
March 28th, 2010 at 1:05 pm
can you explain that a little better, maybe showing how it is written with the other stuff
April 28th, 2010 at 7:14 pm
hi please has eny one got the file(S) because i cant get it to work please help me please please please can you help me
May 10th, 2010 at 4:08 pm
Thank you so much!!!
May 12th, 2010 at 10:41 pm
thanks!!! it works!!! a sample is at
dayo(.)tk
May 14th, 2010 at 3:53 am
You don’t need to create so many LIKE statements.
$query = mysql_query(“SELECT * FROM search WHERE Keywords LIKE ‘%$str%’”);
that works fine, all you need is the search string to be entered into like, since it will go: Ok so in this string is test and in the database i see a test string so that must be output
May 14th, 2010 at 3:55 am
@gm3dgames
you dont need to explode the input string at all
May 15th, 2010 at 4:28 pm
@MrGrimreaper1995 i can message me…..
May 15th, 2010 at 6:59 pm
@biasa199 yeah have you got the flies because when i do the same it never works
May 26th, 2010 at 8:22 pm
GOOD JOB. GREAT TUTORIAL..
June 6th, 2010 at 3:16 pm
Amazing.. Really helped me a lot.. Thank you very much
June 7th, 2010 at 7:01 am
thank you very much for your good work!
June 8th, 2010 at 12:50 am
Excellent work, thanks very much
June 12th, 2010 at 8:48 pm
it says i have a error on lin 42 but it looks just like yours other thn that it works great!
June 14th, 2010 at 12:55 am
I was just wondering.. For it to search the web, do we need every single URL, Name, Description, etc, that we want displayed?
June 26th, 2010 at 1:35 pm
Great tutorial!
To all you people leaving comments saying “this doesnt work” – your not doing it right. Quit crying because you fail to understand the concept of how this all comes together. Maybe you should stick to HTML and just quit crying. Maybe in a perfect world you could just follow along and have a fully functional search engine, but it doesnt work that way for anybody. thee is always debugging and you need to be able to figure it out, or pay someone to do it for you. Jesus
July 3rd, 2010 at 6:06 pm
when i save it as (.php) it dose somthing difrent in each internet browser but not what its ment to so i saved it as (.html) the index.html works perfectly but the search.html dosent show anything just a blank screen is there any way of moderfying it for html because i think it would be easyer.
i find it anoying because i already knew the index page i dont know how to get the databasey type bit
July 6th, 2010 at 4:09 pm
nice tutorial alex, by the way if i want to search 4 or 3 columns in my database
(e.i i have my table named tblemployee where there are 10 columns in there but i want to search for the 4 columns as a keyword, the 4 columns is “FirstName,LastName,MiddleName,OfficeName” ) is it possible.. ? newbie here!
thanks
July 8th, 2010 at 10:36 am
Hey great tutorial… everything works great but at the top of the searches found it still has no result found no result found over and over again. does anyone know a reason that that might be happening???
July 9th, 2010 at 1:02 am
How can you add an internal search engine so that it would search only inside the my own web?
July 9th, 2010 at 1:03 am
How can you add an internal search engine so that it would search only inside the my own web?
July 10th, 2010 at 5:33 am
Thank you! This is awesome. Subscribed, rated and yeah, commented… :]
July 16th, 2010 at 5:00 pm
hey i just found a more professional way of doing it ! thanks
July 16th, 2010 at 11:43 pm
can you please make a video of how to make spider (a thing that gets all of the websites name in the world). Thanks
P.S. You are the best
July 22nd, 2010 at 5:26 pm
i have this error Parse error: syntax error, unexpected $end in D:\xampp\htdocs\search.php on line 67 …. 67 is my last line ?>