hello,
i dont knwo whether this is a php question or an html question.
basially i have a database in mysql with a field as idType.
on my php form...i have radio buttons for this field as it can have 3 options from which one has to be chosen.
i want that when my edit.php page loads the correct option button should be checked as per the value in the database...
how do i do it...
i tried soemthing like:
ID TYPE : <INPUT type=\"RADIO\" name=\"passport\" value=\"<?=(($new==true)?\" \":$idType )?>\">
but its does not work...where new=true is when a new record is being added.
thanks
alifya