Also
while ($array[1] >= $array[0]) {
and not
while ($array[1] => $array[0]) {
Rudolf Visagie
[EMAIL PROTECTED]
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2001 07:01
To: CGI GUY; [EMAIL PROTECTED]
Subject: Re: [PHP] option tags and WHILE
On Mon, 20 Aug 2001 12:23, CGI GUY wrote:
> What's wrong with this code? I keep getting a parse
> error at the form/select lines...
>
> $array = mysql_fetch_array($mysql_result) or die("no
> go");
>
> print ("");
> print ("");
> while ($array[1] => $array[0]) {
> print (" ">$array[1]\n");
> }
> p
2 matches
Mail list logo