![]() |
| Search Bar Query |
MySql Query for filter. You can use this query for getting match values in your site. This search bar query is so simple to understand.
$filter = "Sam";
SELECT * from contacts WHERE name LIKE '%".$filter."%' order by name"
You just need to change "Name". You can use different field according to your need. It can either be "Title" or "Description". That is up to your database / script.
It is the best way to release your server load and good for your website ranking on Google.
Must Comment

Post a Comment
Give your reviews about this blog. Leave your comments. What do you think about this post?
Comments Guidelines:
1) I love to read comments, but please avoid spam.
2) Like this blog, share your insights, and spread the word.
3) You can use basic HTML/xHTML tags.
4) All comments are DoFollow—please use the section professionally.
5) Kindly mention your name or brand below your comment.
6) Constructive suggestions for improvement are always welcome.
Thanks for visiting Samee Articles.
========================================
Best Regards,
Samee U. Feroz