I tried it and it prints nothing.
I'm new to this whole flippin' PHP world and am currently frustrated beyond comprehension, so if I aska stupid question...just reply with a stupid answer... :}
How do I list and assign values from a SINGLE dimension array?? Everyone is talking multi-dimensional, what's wrong with single?
$good = array (1 => $radio);
that's it. $good is now an array with values from radio buttons on the page.
Array ( [1] => Array ( [1] => 2 [2] => 2 [3] => 2 ) )
that's what it looks like (will eventually have up to 100 values...)
while (list ($key, $val) = each ($good)) {
echo "$key -> $val<br>";
}
tried that code...nothing. Now, is $key and $val fictional statements? Do they need to be replaced with something??? I have asked two friends of mine about this, both PHP, Unix gurus, can't seem to get a straight answer.