+ 1

How to connect php Search engine to mysql database

how to store searching url and web source code links in mysql database and retrieving if the user Search the same query on search engine...

9th Apr 2017, 6:00 PM
sharath
sharath - avatar
7 ответов
+ 8
I'm making a search engine these days using PHP. We just need to use few predefined functions such as mysql_connect(), mysql_search_db(), mysql_query(), mysql_fetch_array() etc. For this purpose. Also to get the data from user, we need a HTML form. If you are confused, then I may show you thr source code once I will finish it.
9th Apr 2017, 6:50 PM
Sachin Artani
Sachin Artani - avatar
+ 8
@Sharath, I'm working on Search engine for Alumni, and it will take atleast a week from now, to build it. You can check it through the link- http://findthellama.me and once I build it, I will send you the code for sure 😊 @Kingodx, Yeah you are right but still many hosts uses PHP 5.5, and mysql_connect is working with me. However, I follow your advice. Thanks
10th Apr 2017, 4:56 AM
Sachin Artani
Sachin Artani - avatar
+ 6
Thanks 😊 @KINGODX
10th Apr 2017, 5:05 AM
Sachin Artani
Sachin Artani - avatar
+ 3
The mysql extension is deprecated and was removed in PHP 7. It is not advised to use it if you are running PHP 5.5 or more. Use mysqli or PDO extensions instead.
9th Apr 2017, 9:23 PM
CHMD
CHMD - avatar
+ 2
@Sachin Best of luck in your project bro
10th Apr 2017, 5:04 AM
CHMD
CHMD - avatar
+ 1
mr.sachin artani, thanks for your explanation. I need this Search engine coding urgently could you please send me the source code. please sir, help me... pls send the source code to my mail id: sharathkumardbz@gmail.com
9th Apr 2017, 6:58 PM
sharath
sharath - avatar
0
Sounds like a map of query:url would be the solution. Check the map prior to running the db query to save processing time.
9th Apr 2017, 6:26 PM
Richard Valles
Richard Valles - avatar