text search with two parameters
Posted
by stck777
on Stack Overflow
See other posts from Stack Overflow
or by stck777
Published on 2010-03-20T11:06:03Z
Indexed on
2010/03/20
11:11 UTC
Read the original article
Hit count: 315
The user should input two strings and the script will performe a text search:
$sql = "SELECT * FROM table_one WHERE name='%$str1%' AND MATCH (street, city, pin) AGAINST ('$hrtg'IN BOOLEAN MODE)";
somehow the % does not work, but it alwas did actually. please help?
© Stack Overflow or respective owner