Forum Moderators: coopster
the one thing i cant get right is how to pull the data if the field option was a radio button, drop down list, or checkbox....
also i cant seem to get the remarks section to pull either...
the remarks field is set to "TEXT" in the database....
currently i am using
value="<? echo "$remarks"?>
to pull data into the text fields....
anyone got a tip on this?
that would depend on how you're saving it. Test for a yes or on or whatever and echo checked or whatever you need to in the appropriate form element.
If the other field is saved in a TEXT field then you would think it should be a textarea, just a guess though.
What i can not get now is the radio buttons.
i am storing them as VARCHAR in my dbase, either a YES or NO....
how can i pull those values from the table, and have them check the appropriate radio button based on the value?
}
?>
I think it should work, but I am also in search of a better solution, as it will create problem in handling large number of values for $var.