// EDIT
try this
Code:
$search = $_GET['search'];
echo $search;
that will tell you exactly what has been put into the search variable.
if you are only getting the My into the variable then its something in your processing before that is causing only the first word to show up.
if you get the full string entered, then we would need to see more of your code to determine where the rest of the string is being cut out.
as for getting everything that is entered in the search. you can use the
PHP Code:
str_replace("search_term", "replace_with", "source");
to replace all of your spaces with a wildcard. however that can return results that you do not want, because it will than search for every word whether it be
"something", "anything", or "a".
so you just want to design it in a way to get rid of those common words,
Bookmarks