comments inline
Choy, Wai Yew wrote:
this if statement is false, because $a == 1
if ($a == 0) {
$b = 1;
$id = "a";
}
this if statement is true, becaus
ay, November 08, 2006 9:34 PM
> To: php-general@lists.php.net
> Subject: [PHP] Simple logic but can't get it right
>
> Hi gurus,
>
>
>
> I've the following piece of PHP codeIt is a simple logic
> but I can't
> get it rightThe output result of
Hi gurus,
I've the following piece of PHP codeIt is a simple logic but I can't
get it rightThe output result of $id is "b"!!...It should be
"outside", right??
I think it is the variable $bCoz' it depend on the previous check (
if ($a == 0) ) for the value... If this is the case,
3 matches
Mail list logo