SELECT * WHERE fits LIKE '%$name%' AND cat = '$cat' LIMIT 25
I am getting a snytax error and not sure how to fix it. I was running the query just fine without the "AND cat = '$cat'" part but ever since I added that it gives me an error. What am I doing wrong? Thanks.