Re: code

From: Date: Mon, 18 Feb 2002 19:41:45 +0000
Subject: Re: code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85261@lists.php.net to get a copy of this message
make sure you're doing it like this: if ($inst == "1") { // do this } else { // do something else } instead of this: if ($inst = "1") { // do this } else { // do this } Just a thought. Tyler ----- Original Message ----- From: "John Gurley" <john_g83@hotmail.com> To: <php-general@lists.php.net> Sent: Monday, February 18, 2002 10:28 AM Subject: [PHP] code > not trying to be sneaky or hide anything, the only thing is that it is a > long code and what ever is wrong with what I am using it will not let me > paste the code over!?! > when I echo $inst i get the expected result (i.e. 1 or 2) but even if the > result is 1 it goes into the loop...and yes the select method is in the html > code. > > thanks again...sorry I'm making life so difficult by not including enough > code...I'll try again and post it if I am able to paste it. > > _________________________________________________________________ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#85261) next »