Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- for loops with select option


jd01 - 8:03 am on Oct 6, 2009 (gmt 0)


If you mean the echo, it's because I forgot to change it to this when I first posted:

for($i=0; $i<$value; $i++)
{
$PackTye[$i] = $_POST["packTy"][$i];
echo '.$PackTye[$i].';
}

I forgot the key [$i] to echo the correct array piece, so it tried to echo $PackTye as a variable, not an array, which gives you 'array' in the echo statement rather than the value associated with the key... Sry.

Other than that, I'm not sure why it would, so you'll have to be more specific.


Thread source:: http://www.webmasterworld.com/php/4001916.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com