I am doing a search functionality.I need to get data entered with ', 5 etc..
So after entering data in search filed
The keyword is converetd to
Code: Select all
$variable=str_replace("'","%\'",$variable);
[ /code]
Then quotes problem is solved then I need % to work
Now when entering % all fields are displaying . how I should remove that..
Regrads