I have a PHP string with a like query – something like this:
$select = "select category_id, category_name from categories where category_name like %"'.$category.'"%;
But I am pretty sure this is totally wrong, and I am getting confused in the million quotes 🙂
Whats the right way to put this query together?
Thank you!!
I’m pretty sure it’s just: