Jump to content

i want to show recent search terms of my search engine


Recommended Posts

hello every buddy, i want to show my search engines top 10 recent searches in my siteplz see my search enginewww.topmse.com it is php based search enginei want to show its recent searches by users in my site for getting its result pages indexed on google.plz somebuddy help me.i can create a database but i was not able to create a working script for this programe that is why i posting here. it is urgent plz help me. plz help me

Link to post
Share on other sites

1)you need to make table which will hold the timestamp and search tag.2)you need to catch the inputs and save it to database http://w3schools.com/php/php_mysql_insert.asp3)and you will need to fetch it http://w3schools.com/php/php_mysql_select.asp4)you will also need to http://w3schools.com/php/php_mysql_order_by.asp order by to order the result by timestammp you can also use LIMIT to limit the result as you need.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...