paulbradley
Programmer
I have a search box which users can enter a phrase and it searches for items LIKE what they enetered, using the following command:
SELECT product_name FROM products WHERE '$searchitem' LIKE product_name ORDER BY end_time
But this only seems to return items identical to product_name. Any ideas? Thanks in advance.
SELECT product_name FROM products WHERE '$searchitem' LIKE product_name ORDER BY end_time
But this only seems to return items identical to product_name. Any ideas? Thanks in advance.