Searching

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
dharprog
Forum Contributor
Posts: 126
Joined: Fri Oct 27, 2006 12:20 am

Searching

Post by dharprog »

Hi

I would like to know how to do searching in php and with the Mysql Data base support.

Usually we do the search by using "like" (%keyword%) in SQL query but this is limited to one string which the string has been passed to that query as a keyword.

What i want to know is how can we do a combinational keywords search. I mean in normal search we use only one key word to search the table. But how can we do a combinational search with multiple keywords and getting a good results perfectly with those keywords.

Please let me know or suggest me the way to do this.

Thank You very much.

Regards.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

User avatar
dharprog
Forum Contributor
Posts: 126
Joined: Fri Oct 27, 2006 12:20 am

Post by dharprog »

Thnak You

I searched google and our Devnetwork before posting but due to lack of knowing the names i didnt get that i mean like full-text search like that.

Anyway thank you very much for the help.
Post Reply