I've got a little pb with checkboxes. In my form I've got 5 checkboxes which
have the same name "sel". When I submit the form and when I display the form
variable "sel", it displays the last value only. I cannot catch all the
value checked in the form.

If I try this code with coldfusion or ASP it displays a coma delimited list
of all the values I checked in the form.

How to fix this pb with PHP?


My code:

<!--- the form --->
<form action="catalog.php" method="post">
   <table border="0" cellspacing="0" cellpadding="0">
    <?for ($i=1;$i<=$nb;$i++){
            <td align="center"><input type="checkbox" name="sel"

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to