+ 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...
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.
+ 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
+ 6
Thanks 😊 @KINGODX
+ 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.
+ 2
@Sachin Best of luck in your project bro
+ 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
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.