Hi i currently have the following code
if($line["areas"] == 'i'){echo ' checked="checked"';}
at the minute it checks to see if the value "i" is present in the db and if so it checks the check box HOWEVER it only checks the check box if the only value s "i", i have multiple values in the field. If i remove an "=" from the code it checks the box no matter what value is present.
Does anyone know how to check if the value "i" is present no matter what else is in the box. I have tried explode() but cannot query the array it still has the same result.
PLEASE HELP!!!, Thank you in advance