Re: [PHP] Option Value

2007-02-23 Thread Richard Lynch
On Fri, February 23, 2007 9:10 am, Dan Shirah wrote: > On my form I have several drop down menus. They all work and display > the > corrent values. However, I would like the initial display of the form > to > show each dropdown as blank. [snip] > Any suggestions on how to make my initial display

Re: [PHP] Option Value

2007-02-23 Thread Dan Shirah
Thank you George, that is what I was referring to. I had been placing the echo "\n"; inside of my loop..which of course returned a blank after every valid selection. TGIF! Thanks all. On 2/23/07, Dave Goodchild <[EMAIL PROTECTED]> wrote: Also, if you want to get into the habit of writing va

Re: [PHP] Option Value

2007-02-23 Thread Dave Goodchild
Also, if you want to get into the habit of writing valid xhtml, use lowercase and selected="selected"

Re: [PHP] Option Value

2007-02-23 Thread Németh Zoltán
2007. 02. 23, péntek keltezéssel 10.10-kor Dan Shirah ezt írta: > On my form I have several drop down menus. They all work and display the > corrent values. However, I would like the initial display of the form to > show each dropdown as blank. > > > $q_status = "SELECT * FROM status_codes ORDE

Re: [PHP] Option Value

2007-02-23 Thread David Giragosian
On 2/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote: On my form I have several drop down menus. They all work and display the corrent values. However, I would like the initial display of the form to show each dropdown as blank. $q_status = "SELECT * FROM status_codes ORDER BY status_description

[PHP] Option Value

2007-02-23 Thread Dan Shirah
On my form I have several drop down menus. They all work and display the corrent values. However, I would like the initial display of the form to show each dropdown as blank. $q_status = "SELECT * FROM status_codes ORDER BY status_description"; $r_status = mssql_query($q_status) or die(mssql_e

Re: [PHP] Option value

2002-10-16 Thread 1LT John W. Holmes
> Is it possible to extract the value option which item name selected..for > example i am having list of soap brand in the options..is it possible that > to tell that the user seleced this brand of soap while in the submittion > of the form..can any one please tell me how to do this.. Umm...tha

[PHP] Option value

2002-10-15 Thread Uma Shankari T.
Hello, Is it possible to extract the value option which item name selected..for example i am having list of soap brand in the options..is it possible that to tell that the user seleced this brand of soap while in the submittion of the form..can any one please tell me how to do this.. Regard

[PHP] Option for Serial or Comm port communication with PHP?

2002-02-25 Thread Ken Lancaster
Hi everyone, I was hoping to work on a hairbrained idea that would allow me to use php to control an X10 or other serial device (security system, irrigation controller, etc,). I have read several hints at using the fopen function to do serial communications but these posts were a year old. Is

RE: [PHP] option block

2001-09-04 Thread Chris Mulcahy
: Tuesday, September 04, 2001 2:57 PM > To: [EMAIL PROTECTED] > Subject: [PHP] option block > > > Hello everyone, I'm having a problem with my option block... > I'm trying to > pass the value of uid to the next page. I always get the last > uid value in > table us

[PHP] option block

2001-09-04 Thread Jeremy Morano
Hello everyone, I'm having a problem with my option block... I'm trying to pass the value of uid to the next page. I always get the last uid value in table user. How can I change this so I get to pass the value of the user's choice? $sql = "SELECT user.uid, user.first_name, user.last_name

RE: [PHP] option tags and WHILE

2001-08-19 Thread Rudolf Visagie
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

Re: [PHP] option tags and WHILE

2001-08-19 Thread David Robley
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

[PHP] option tags and WHILE

2001-08-19 Thread CGI GUY
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"); } print (""); print (""); ?>

Re: [PHP] option value

2001-07-16 Thread teo
Hi Michael! On Sun, 15 Jul 2001, Michael Thomas wrote: > > how can i populate an dropdown box useing php & postgresql. > Thanks in advance > if you tell me how you tried by yourself first, I'll help you further ;) it's trivial with Javascript, but if you don't want to use that it's still doabl

[PHP] option value

2001-07-15 Thread Michael Thomas
how can i populate an dropdown box useing php & postgresql. Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]