Posted by Kimmo Laine on 05/27/05 10:36
--
Welcome to Usenet! Please leave tolerance, understanding
and intelligence at the door. They aren't welcome here.
eternal piste erection miuku gmail piste com
"Lee David" <affordable_turnkey_solutions@comcast.net> wrote in message
news:b-CdnZ3richeoAvfRVn-pg@comcast.com...
> Let's say $myrow[status] = "n". The if statement is true because it is
> not "u". Let's say it is "u". The if statement is true because it is not
> "n". Let's say it is "x". The if statement is true because it is not "n".
>
> I would do it this way :
> $status = strtolower($myrow[status])
> if (&status = "n" || & status = "u")
Did you mean
if ($status == "n" || $status == "u")
If-statements are fun.
if( '=' != '==' )
echo "monkeys don't fly out of my butt";
else
echo "monkeys fly out of my butt";
Navigation:
[Reply to this message]
|