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 (form);
print (select);
while ($array[1] = $array[0]) {
print (option value=\$array[0]\
$array[1]/option\n);
}
print (/select);
print (/form);
?
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 (form);
print (select);
while ($array[1] = $array[0]) {
print (option value=\$array[0]\
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
3 matches
Mail list logo