[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: PHP3 and multiple select...



Hi dude,

Try count($variable_name). Havent tried it, but guess it should work.
Any way if we have 5 options for the user to select, $variable_name[$i]
will return true only if "i" values are selected, else will return null ie.,
no value.

Krishna

> > The multiple selected values can be accessed by "<? print
$variable_name[0];
> > ?>"  where 0 is the index of the value you want to retrive.
>
> Thanx for the info. But how do I know how many values did the user select
> from that multiple select?
>
>
> Kedar
>
>
> ---------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/LIP