i made couple in 3, but i maintain 0,1 and 2 , may this was the error ยก how could i fix it ?
this is what i edit for example in
includes/libs/account.module.php
'.label(t('Gender')).'');
if ($row['gender'] == 1) {
$male_checked = 'checked';
}
elseif ($row['gender'] == 0) {
$female_checked = 'checked';
}
elseif ($row['gender'] == 3) {
$couple_checked = 'checked';
}
else {
$gender_hide = 'checked';
}
section_content('
<input type="radio" name="gender" value="1" '.$male_checked.' />'.t('Male').'
<input type="radio" name="gender" value="0" '.$female_checked.' />'.t('Female').'
<input type="radio" name="gender" value="3" '.$couple_checked.' />'.t('couple').'
<input type="radio" name="gender" value="2" '.$gender_hide.' />'.t('Hide').'
</p>
|