Posted by Marcin Dobrucki on 09/13/05 13:10
Nicolas Rubin wrote:
> I would transfer the result of a checkbox selection into an SQL request.
> Could you help me ?
Checkboxes are a bit of a problem: they will only be submitted if
checked. However, the positive thing is that they take the "value"
argument, so basically you can make then anything.
Suggestion: use HTML_QuickForm, and then use the advcheckbox element,
which removes the need to check if the variable has been set or not, you
only need to worry about processing the value. (=> pear.php.net)
/Marcin
[Back to original message]
|