No, he's saying that: echo $sqn; displays SQN=4.
it should say simply 4 ----- Original Message ----- From: "BigDog" <[EMAIL PROTECTED]> To: "Dave J. Hala Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 4:33 AM Subject: Re: [PHP] Post Problem That is what you should be getting right? When you have a select statement that has a value as the first one then that is what you will get when you post or get the form. if you want a blank one then do <option></option> and that should not pass anything in the post or get... On Mon, 2002-11-18 at 17:30, Dave J. Hala Jr. wrote: > I'm running php-4.2.2-8.0.5 on Redhat 8.0 > > Lately I've noticed that when doing a form, listbox variables have funky > values in certain situations. Unfortunately, I haven't been to > determined what the certain situation is. > > Here's an example. > > Here is the listbox in the form: > > <select NAME=SQN> > <option VALUE="4">4</option> > <option VALUE="6">6</option> > <option VALUE=""></option> > </select> > > After clicking submit, when I echo the variable in the post script,I get > the following results: > SQN=4 > > I should get the value "4" > > Doing an echo "$_POST[SQN] <BR>"; yields the same results. > > > I didn't start seeing this until this week. I don't know what changed, > but it only happens with certain variables on certain posts. Anyone > else seen this type of behavior? > > > :) Dave > > -- > > "...Unix, MS-DOS and Windows NT (also known as the Good, the Bad, and > the Ugly)" > > OSIS > Dave J. Hala Jr. > 641.485.1606 -- .: B i g D o g :. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php