hisham
IS-IT--Management
- Nov 6, 2000
- 194
I use the following query to search a table:
$query = mysql_query("SELECT * FROM my_table WHERE my_fild LIKE '%$word%'"
My_fild have the record: O & K , How can I modify the query to retrieve this record when user submit in the search box just: ok or o k
Thanks in advance
$query = mysql_query("SELECT * FROM my_table WHERE my_fild LIKE '%$word%'"
My_fild have the record: O & K , How can I modify the query to retrieve this record when user submit in the search box just: ok or o k
Thanks in advance