I'm trying to delete all rows that begins with LIS, but it seems that something is wrong in my query.
The rows is like this:
LIS 00001.jpg
LIS 00002.jpg
XHS 00001.jpg
And so on...
$prefix = "LIS";
$result = "DELETE FROM products WHERE filename LIKE '$prefix%'";
Can someone please tell me what the problem is?