Re: PHP/JavaScript/HTML

From: Date: Tue, 05 Aug 2003 17:43:38 +0000
Subject: Re: PHP/JavaScript/HTML
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-158322@lists.php.net to get a copy of this message
Ok! Now I can see the values in the another page. But each value are passed with the same name. How can I get all values using PHP script? On the Address Bar I can see: index.php?slcAdd=1&slcAdd=2&slcAdd=3 But when I get the value using $HTTP_GET_VARS['slcAdd']; it returns just the last value. What can I do to get them all? Thanks! .:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Maurício Alegre Valente AGP5 Tecnologia da Informação Ltda. (48) 439-3004 Visite nosso site: www.agp5.com.br .:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. ----- Original Message ----- From: "CPT John W. Holmes" <holmes072000@charter.net> To: "Mauricio" <mauricio@agp5.com.br>; <php-general@lists.php.net> Sent: Tuesday, August 05, 2003 10:05 AM Subject: Re: [PHP] PHP/JavaScript/HTML > From: "Mauricio" <mauricio@agp5.com.br> > > I wrote a JavaScript to set the values of a Select html object by client > > side. The values are copied from another Select that I create getting the > > values from the database. After the user set the values he/she wants to > add > > it in another form, for example, then press submit button, the values of > the > > "user" Select object doesn't appears on the next page. What can I do to > get > > the user selected values in the another page? > > Well, if I understand that correctly, you need to use Javascript to "select" > all of the options that the user selected to add to the second select box. > If they aren't selected, then they won't be passed to the next page. > > ---John Holmes... > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#158322) next »