Mysqli Radio Buttons
We have these radio buttons on the update page. We can insert, update them, but we can't see the actual value on the update page. The 'radio' will remain in "No". Please help us to populate the buttons from $rsBusiness - column "business_is active". The value in the database is correct, but the buttons don't display correctly.
<label>
<input <?php if (!(strcmp(($rsBusiness->getColumnVal("business_is_active")),"1"))) {echo "checked=\"checked\"";} ?> type="radio" name="Active" value="1" id="RadioGroup1_0">
Yes</label>
<label>
<input <?php if (!(strcmp(($rsBusiness->getColumnVal("business_is_active")),"0"))) {echo "checked=\"checked\"";} ?> name="Active" type="radio" id="RadioGroup1_1" value="0" checked>
No</label>
Thanks for your help...