On a many to many update, I have an inner join SELECT -- this displays all the values right, (repeat region on another page verifies).
Anyone know why I am only getting a single value back while using the following (listing each possible value individually here):
<input type="checkbox" name="Mc[]" value="2"<?php if (!(strcmp(htmlentities($row_Rca['MCt_ID']),"2"))) {echo "checked";} ?>>
Where Mc is the category lookup table, MCt_Id is the third part of an array// a key linking to lookup primary id.
Should 'strcmp' even be used? Do I need a while loop for when echoing individual checkbox values?
I'm getting the same problem with:
<input type="checkbox" name="Mc[]" value="2"<?php if (($row_Rca['MCt_ID'])=="2") {echo "checked";} ?>>