Re: [PHP] passing variable arguments from

2002-06-27 Thread Haddad Said
I just found out the $_POST['language'] is always assigned the value Array. Since a user must choose either of the options and not both, I would rather do this without arrays, is there another way? "Haddad Said" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP] passing variable arguments from

2002-06-27 Thread Haddad Said
Yes I changed that, but now it always echoes EngP=0 "Mark Heintz Php Mailing Lists" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, 27 Jun 2002, Haddad Said wrote: > > > in query.php i have this piece of code; > > > > echo " > > > > one > > two > > >

Re: [PHP] passing variable arguments from

2002-06-27 Thread Mark Heintz PHP Mailing Lists
On Thu, 27 Jun 2002, Haddad Said wrote: > in query.php i have this piece of code; > > echo " > > one > two > > > > "; > > and in test2.php i have this; > > if ($_POST['language'] = 1) > {$lang = "EngP=1";} > else {$lang = "EngP=0";} > echo $lang ; > > But it always echoes EngP=1 no matter wha

Re: [PHP] passing variable arguments from

2002-06-27 Thread Haddad Said
I still cant get it right, in query.php i have this piece of code; echo " one two "; and in test2.php i have this; if ($_POST['language'] = 1) {$lang = "EngP=1";} else {$lang = "EngP=0";} echo $lang ; But it always echoes EngP=1 no matter what I choose, what is wrong here?? "Erik Price

Re: [PHP] passing variable arguments from

2002-06-26 Thread Erik Price
On Wednesday, June 26, 2002, at 02:51 PM, Haddad Said wrote: > Hi, i am having a problem passing variables from a drop down menu in a > form; > > > > one > two > You should do it like this (be sure to properly quote your attributes, and use the 'value' attribute of the 'option' tag): p

[PHP] passing variable arguments from

2002-06-26 Thread Haddad Said
Hi, i am having a problem passing variables from a drop down menu in a form; one two So how will the values of $example be assigned in test.php? THanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php