
Zhris
User
Dec 11, 2010, 11:34 AM
Views: 1582
|
|
Re: [2huskys] Cant get my checkboxes to display all the users selected ones
|
|
|
Hi, You are reading an array of values, in scalar context. By doing this with the param method, only the first value is assigned. Try the following instead:
@prefrence = param('prefrence'); These lines might help you when displaying the array:
print "@prefrence"; print "$_<br />" foreach (sort {$a cmp $b} @prefrence); Chris
(This post was edited by Zhris on Dec 11, 2010, 11:35 AM)
|