Select Field Form Value
| From: | Mike Walth | Date: | Sat, 22 Feb 2003 22:32:49 +0000 |
| Subject: | Select Field Form Value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136682@lists.php.net to get a copy of this message | ||
Hello:
Here is my problem. I am using the following two lines to get multiple
values from a form field select statement.
while (list($key,$val) = each($_POST[Restrictions])) {$Restrictions .=
"$val,";}
<tr><td>Restrictions</td><td>$Restrictions</td></tr>
The problem is when it fills out the table, it adds "Array" prior to the
values. Is there an easy way to strip that out?
Any help is appreciated.
Thank you,
Mike Walth
CinoFusion