dreamweaver checkbox update problem
Hello
I have a basic checkbox on a form that is not updating
when the box is checked it is updating the PHP DB but when i go back into the form the check box is not showing the correct value
php is
GetSQLValueString(isset($_POST['BankFinCCJ']) ? "true" : "", "defined","'Y'","'N'"),
form value
<input type="checkbox" name="BankFinCCJ" <?php if (!(strcmp(htmlentities($row_Recordset1['BankFinCCJ'], ENT_COMPAT, 'utf-8'),"true"))) {echo "checked=\"checked\"";} ?> />
what am i doing wrong? can anyone help?
