$sql="select * from data where keywords Like '%\"$question\"%'";

doesn't work but

$sql="select * from data where keywords Like '%somekeyword%'";

works fine but when I try to implement a user input it doesn't work. I've echoed the output of the text field and the php is reading it properly. Any ideas?

    Write a Reply...