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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to