Hi,
On Wed, 5 Jun 2002, DragosB wrote:
> How can I check how many options has been selected from a select list? I
> tried in many ways, but it returns the last option selected.
Let's say your select box code is similar to this:
<SELECT name="day[]" size="7" multiple>
...
</SELECT>
in PHP form,
$number = count ($day);
gives you the number of options selected.
Regards and best wishes.
--
Devrim GUNDUZ
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Web : http://devrim.oper.metu.edu.tr
-------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php