dude1 Posted January 12, 2008 Share Posted January 12, 2008 Hi, I want to great a search engine for my web site, i want it so i can add other web sites to the engine and so other users. I am not great at PHP and was wondering if any1 knew any sites that offer a free script or any tutorials that may help?? Many thanks, Joe. Link to comment https://forums.phpfreaks.com/topic/85691-search-engine/ Share on other sites More sharing options...
revraz Posted January 12, 2008 Share Posted January 12, 2008 Search google for php search engine tutorial Link to comment https://forums.phpfreaks.com/topic/85691-search-engine/#findComment-437327 Share on other sites More sharing options...
phpSensei Posted January 12, 2008 Share Posted January 12, 2008 lol, here is a simple one DONT USE IT! I DIDNT FILTER THE VARS! <?php $keyword = isset($_GET['keywords']) ? "WHERE column_name LIKE '".$_GET['keywords']."%' " : ""; $search = mysql_query("SELECT * FROM table1 $keyword"); while($row = mysql_fetch_array($keyword)){ echo $row['column_1'] . "<br>" . $row['column_2']; } ?> Link to comment https://forums.phpfreaks.com/topic/85691-search-engine/#findComment-437336 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.