Page 1 of 1

Convert into a search engine

Posted: Sat Sep 11, 2010 10:07 am
by hacxx
Hi,

I'm posting here looking for anyone that could help me out.

I'm using Newswriter2005 script, it's a simple blog script. I would like to convert the index.php which shows the entries posted in the admin section into a search engine where a user enters a keyword and it shows the entry with the same keyword.

The script can be found at http://newswriter2005.sourceforge.net/

Thanks for your time...

------

http://hacxx.com

Re: Convert into a search engine

Posted: Sun Sep 12, 2010 2:09 pm
by Jonah Bron
You'll need to create a form with a search field input (perhaps called "q"). In the target page, a script will access $_GET['q'], and use that to scan the database. Try googling for "php search tutorial".