[EMAIL PROTECTED] wrote:
The name property currrently set as the value of name='interesses' ... should be different for each different checkbox. Then you test for the value of 'on' or 'off'. If the checkbox is checked then the default value will be 'on'.
In your code you have set values but those are not strictly necessary because
if no value is declared then 'on' or 'off' are used. Perhaps you may consider
using the values Alojamento, Artesanato and Eventos for the names instead like
this?
Example:
Alojamento
Artesanato
Eventos
Here's a basic checkbox article which may help:
http://www.globalissa.com/articles/articleCheckbox.php
Rob
http://www.globalissa.com
===
with reference to:
snip
My dummy question, for which i apologise once more is: after submitting the
form, how can i know which chekboxes were checked ?
Thanking you in advance.
Warm Regards,
Mário Gamito
Bar
Would result in $_REQUEST['foo'] being a) set and b) hold the value of
"bar".
regards,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php