Hi
I am using the IF statement below to test if the SET datatype
field in my table called "category" includes "mba" in the string. It does, because I inserted it previously using the checkbox array. But the use of LIKE immediately produces a parse error
<input type="checkbox" name="category_array[]" value="mba" <?php
if($myrow["category"] LIKE "%mba%"){echo " CHECKED";}?>>
What am I doing wrong?
Thanks