1) The example you have shown should work. Take a look at the foreach controle
structure. (Link at bottom of mail.)
2) You cannot assign a value to a checkbox. It can only be set by the "checked"
keyword (ie: .)
3) The value of a checked checkbox is "on". If a checkbox is not checked it will not
On Wed, 24 Apr 2002, Liam MacKenzie wrote:
>
> while ( $element = each( $games ) )
> {
> echo $element["value"];
> echo "";
> }
>
>
> I tried this too, it gave the same results as the above...
>
> if (is_array($games)) {
> for ($z=0;$z echo "$games[$z]";
> }
> }
> else {
> echo "$game
>
> mysql_auery($query) or die(echo mysql_error());
By the way, I know this line should be mysql_query
John Meyer
[EMAIL PROTECTED]
Programmer
If we didn't have Microsoft, we'd have to blame ourselves for all of our
programs crashing
--
PHP General Mailing List (
3 matches
Mail list logo