[PHP] Select List/Menu

2009-04-17 Thread David Stoltz
If I allow multiple selections in a MENU LIST, in VBSCRIPT it comes through with each selection being separated by a comma, in the same variable...ie.: myVal = request(mySelectmenu) myVal could equal - selection 1, selection 2, selection 3 But in PHP, I capture it as: $mySelectMenu =

Re: [PHP] Select List/Menu

2009-04-17 Thread Richard Heyes
in VBSCRIPT In what? Use [] at the end of your selects name: select name=mySelect[] ... /select -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated April 11th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Select List PHP,HTML

2004-08-23 Thread Chuck
Hello everyone, I have been able to create a list with no problem, but now I need to get the value of which item is selected in the list. I looked around, but couldn't find anywhere that would let me do this. Here's my code to build the list. SELECT name=Company List multiple size=8

RE: [PHP] Select List PHP,HTML

2004-08-23 Thread Jay Blanchard
[snip] I have been able to create a list with no problem, but now I need to get the value of which item is selected in the list. I looked around, but couldn't find anywhere that would let me do this. Here's my code to build the list. SELECT name=Company List multiple size=8 ?php

Re: [PHP] Select List PHP,HTML

2004-08-23 Thread Chuck
Thanks a lot, that worked perfectly. Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I have been able to create a list with no problem, but now I need to get the value of which item is selected in the list. I looked around, but couldn't find anywhere that would let

[PHP] Select-List

2002-06-05 Thread DragosB
Hi, How can I check how many options has been selected from a select list? I tried in many ways, but it returns the last option selected. DragosB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select-List

2002-06-05 Thread Devrim GUNDUZ
Hi, On Wed, 5 Jun 2002, DragosB wrote: How can I check how many options has been selected from a select list? I tried in many ways, but it returns the last option selected. Let's say your select box code is similar to this: SELECT name=day[] size=7 multiple ...

Re: [PHP] Select list with PHP

2001-02-05 Thread Richard Lynch
: http://chatmusic.com/volunteer.htm - Original Message - From: Gerry [EMAIL PROTECTED] To: Richard Lynch [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, February 04, 2001 10:23 AM Subject: Re: [PHP] Select list with PHP This worked! But, I get this color selection increment on each

[PHP] Select list with PHP

2001-02-03 Thread Gerry
Hello: I'm trying to create dinamic color SELECT lists with php. I have my database set up as follows: Paint = good bucket = good weight = 100kg Colors = green, blue, red and here is my php: while ($row = mysql_fetch_array($sql_result)) { echo"trtd"; echo $row["paint"]; echo"/tdtd"; echo

Re: [PHP] Select list with PHP

2001-02-03 Thread Steve Edberg
At 3:24 PM -0700 2/3/01, Gerry wrote: Hello: I'm trying to create dinamic color SELECT lists with php. I have my database set up as follows: Paint = good bucket = good weight = 100kg Colors = green, blue, red and here is my php: while ($row = mysql_fetch_array($sql_result)) { echo"trtd"; echo

Re: [PHP] Select list with PHP

2001-02-03 Thread Richard Lynch
while ($row = mysql_fetch_array($sql_result)) { echo"trtd"; echo $row["paint"]; echo"/tdtd"; echo $row["bucket"]; echo"/tdtd"; echo"form action=\"http://www.\" method=\"POST\""; $Color = $row["Color"]; if ($Color == $Color) { Here is one problem: You can't use $Color for the current