RE: [PHP] html form question

2001-07-26 Thread Lenar Lõhmus
> 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

RE: [PHP] html form question

2001-07-26 Thread Seb Frost
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"; ?

RE: [PHP] html form question

2001-07-26 Thread Seb Frost
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

Re: [PHP] html form question

2001-07-26 Thread Lenar
> 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

RE: [PHP] html form question

2001-07-25 Thread Seb Frost
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

RE: [PHP] html form question

2001-07-25 Thread Lawrence . Sheed
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

Re: [PHP] html form question

2001-07-25 Thread Matt Greer
> 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:

Re: [PHP] html form question

2001-07-25 Thread David Robley
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

[PHP] html form question

2001-07-25 Thread CGI GUY
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