Jump to content

"LIKE" command of mysql for searching?


rahulephp

Recommended Posts

Hi there,

Could you please help me to find-out the solution?

I need to use "LIKE" command of mysql.

 

Below are title from a Product table. If i search for "Alarm" then it should show me result only for title which has word alarm. (0th and 2nd only)

 

table_name = product

Column_name = title

0 ->Casio G-Shock Velocity Indicator Alarm watch

1 ->Seiko Velatura Tachymeter Chronograph watch

2 ->Citizen promaster Alarm perpetual watch

 

 

Thank you in anticipation

Link to comment
https://forums.phpfreaks.com/topic/199353-like-command-of-mysql-for-searching/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.