On Wednesday, March 13, 2002, at 04:31  PM, Scott St. John wrote:

> If I send 5 fields to the next page PHP will show me one when I echo the
> variable to the page.  If I try to split the varaiable I still get only
> one value in the echo.  Tried to reponse.write it in asp and I get the
> string with comma seperate values.

Did you try putting brackets at the end of the input names?  This tells 
PHP to put the values into an array, whose key is the name of the input.

<select name="choice[]" multiple="yes">
   <option value="a">A</option>
   <option value="b">B</option>
   <option value="c">C</option>

This might work for you,



Erik Price
Web Developer Temp
Media Lab, H.H. Brown

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

Reply via email to