I am trying to use php to strip out the string "Search whole site for..." from the keywords and I am running into some trouble getting it to do the replacement with a blank.
This is what I have.
$keywords = $_GET['keywords'];
$keywords2 = str_replace($keywords, "", "Search whole site for...");
For some reason it is not recognizing the string and the result is the same as the input. Where is the problem with this code?