Re: [PHP] combo box validation

2010-06-08 Thread Gerardo Benitez
your advice is welcome! Gerardo www.webseficientes.com.ar On Tue, Jun 8, 2010 at 1:01 PM, Ashley Sheridan wrote: > On Tue, 2010-06-08 at 12:57 -0300, Gerardo Benitez wrote: > > Hi Dave, > > In general, you can validate this condition with javascript before to send > the form, and if some erro

Re: [PHP] combo box validation

2010-06-08 Thread Ashley Sheridan
On Tue, 2010-06-08 at 12:57 -0300, Gerardo Benitez wrote: > Hi Dave, > > In general, you can validate this condition with javascript before to send > the form, and if some errors exist, the form is not submitted. > > or validate the conditions in the server side with php. > > Gerardo. > www.web

Re: [PHP] combo box validation

2010-06-08 Thread Gerardo Benitez
Hi Dave, In general, you can validate this condition with javascript before to send the form, and if some errors exist, the form is not submitted. or validate the conditions in the server side with php. Gerardo. www.webseficientes.com.ar On Mon, Jun 7, 2010 at 2:49 PM, David Mehler wrote: >

Re: [PHP] combo box validation

2010-06-07 Thread Ashley Sheridan
On Mon, 2010-06-07 at 13:49 -0400, David Mehler wrote: > Hello, > I've got a form with two combo boxes, one for the month one for the > day. Both are required. I've got code that checks the post submission > to ensure neither is empty. My problem is that if a user does not > select anything in the

[PHP] combo box validation

2010-06-07 Thread David Mehler
Hello, I've got a form with two combo boxes, one for the month one for the day. Both are required. I've got code that checks the post submission to ensure neither is empty. My problem is that if a user does not select anything in the combo boxes January first is sent, this i don't want. If they hav

[PHP] combo box

2003-12-02 Thread chan hweefarn saputra
hi :) i am creating a webpage. i use a combo box to let user choose which folder they want. after they choose, it will be saved into the database. the next time they load this page, it will retrieve the data from database and appear at the combo box. i already done that. but now the problem is...

RE: [PHP] Combo box selected value...

2002-06-07 Thread Bruce Karstedt
PM To: Alexandra Aguiar Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Combo box selected value... On Fri, 4 Jan 1980, Alexandra Aguiar wrote: > I got the followin code to generate a combo box... Your clock is off by about 20 years. Is it possible to fix it before posting to the list? Thanks. mig

Re: [PHP] Combo box selected value...

2002-06-06 Thread Miguel Cruz
On Fri, 4 Jan 1980, Alexandra Aguiar wrote: > I got the followin code to generate a combo box... Your clock is off by about 20 years. Is it possible to fix it before posting to the list? Thanks. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] Combo box selected value...

2002-06-06 Thread Rick Emery
trieve the value for the VALUE parameter and the value displayed. - Original Message - From: "Alexandra Aguiar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 1980 12:56 PM Subject: [PHP] Combo box selected value... Hi ppl... I got

Re: [PHP] Combo box selected value...

2002-06-06 Thread Rick Emery
the value is returned in whatever is stored in $nome. So, if $nome="var", then $var will contain the selected value. - Original Message - From: "Alexandra Aguiar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 1980 12

Re: [PHP] Combo box selected value...

2002-06-06 Thread Chris Knipe
'.mysql_result($resultado, $cont,$letra).''); } else { echo(' '.mysql_result($resultado, $cont,$letra).''); } $cont++; } echo("\n "); } } +++ > But, how can i return the selected item value into

[PHP] Combo box selected value...

2002-06-06 Thread Alexandra Aguiar
Hi ppl... I got the followin code to generate a combo box... ++ function comb_alfabeto( $resultado, $nome, $letra) { global $error; $quant = mysql_num_rows($resultado); If ($quant == 0) { $error->erro(); } Else { //>>

RE: [PHP] Combo Box containing field

2001-03-10 Thread Don Read
On 10-Mar-01 RealGM wrote: > Hi, > > Does anyone know how I can create a combo box in my php file that reads the > options in from a database field? > > I can create combo boxes fine containing values that I enter, but I want it > to read the values from the database into the drop down box for t

Re: [PHP] Combo Box containing field

2001-03-10 Thread Web Admin
l2->EOF); $level2->close(); echo ""; Just change the query in the 2nd line of the code to the desired query. You'll see the result ;-) Best of luck, Ahmad Anvari da Code Guru - Original Message - From: RealGM To: [EMAIL PROTECTED] Sent: Saturday, March

[PHP] Combo Box containing field

2001-03-10 Thread RealGM
Hi, Does anyone know how I can create a combo box in my php file that reads the options in from a database field? I can create combo boxes fine containing values that I enter, but I want it to read the values from the database into the drop down box for the user to select. Thanks, Michael.