> while(list($value) = mysql_fetch_row($result))
> echo "$value\n";
> }
> ?>
>
> - seb
>
> -Original Message-----
> From: Lenar [mailto:[EMAIL PROTECTED]]
> Sent: 26 July 2001 13:16
> To: [EMAIL PROTECTED]
> Subject: Re: [PH
essage-
From: Lenar [mailto:[EMAIL PROTECTED]]
Sent: 26 July 2001 13:16
To: [EMAIL PROTECTED]
Subject: Re: [PHP] html form question
> Funny you should ask - just done it myself:
Why you use mysql_result function?
This can be done a bit simpler way (and more effective):
$event\n";
?
Thanks for that! I was just using the same structure as I found in a code
sample somewhere.
- seb
-Original Message-
From: Lenar [mailto:[EMAIL PROTECTED]]
Sent: 26 July 2001 13:16
To: [EMAIL PROTECTED]
Subject: Re: [PHP] html form question
> Funny you should ask - just done
> Funny you should ask - just done it myself:
Why you use mysql_result function?
This can be done a bit simpler way (and more effective):
$event\n";
?>
Lenar
>
>$table="shoots";
> require ("connect.php4");
> $result=MYSQL_QUERY( "SELECT eventName FROM $table");
> $num_rows = mysql_n
Funny you should ask - just done it myself:
";
echo mysql_result($result,$i,"eventName");
echo "";
}
MYSQL_CLOSE();
?>
- seb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
e
$tmpOut = $tmpOut . ">" .
MYSQL_RESULT($result,$count,$optiontext) . "";
}
$tmpOut = $tmpOut . "";
return ($tmpOut);
}
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: July 26, 2001 9:02 A
> What's the method for populating any number of html
> form ... tags with query results?
> I've seen lots of php-embedded examples for CHECKBOX,
> RADIO and even SELECT, but I can't seem to figure out
> how to create a simple drop-down menu. HELP!!!
Wouldn't it just be:
On Thu, 26 Jul 2001 10:27, CGI GUY wrote:
> What's the method for populating any number of html
> form ... tags with query results?
> I've seen lots of php-embedded examples for CHECKBOX,
> RADIO and even SELECT, but I can't seem to figure out
> how to create a simple drop-down menu. HELP!!!
You
What's the method for populating any number of html
form ... tags with query results?
I've seen lots of php-embedded examples for CHECKBOX,
RADIO and even SELECT, but I can't seem to figure out
how to create a simple drop-down menu. HELP!!!
__
Do Y
9 matches
Mail list logo