JamesGMills
Programmer
Problem:
Search string
could be something like
then i have
But the problem is i need to split the $s up because there is two workds to search for but this just confuses the search?
How do you do this?
Ahhhhhhhhhgggrrrrrr....
Search string
Code:
$s = $_GET['s'];
Code:
france, white
then i have
Code:
SELECT *, date_format(item_dateAdded, '%D %M %Y') as item_dateAdded FROM items WHERE
item_name LIKE '$s' OR item_country LIKE '$s' OR item_type LIKE '$s' OR item_subtype LIKE '$s'
But the problem is i need to split the $s up because there is two workds to search for but this just confuses the search?
How do you do this?
Ahhhhhhhhhgggrrrrrr....