Jaiem
Mon 23rd Sep '02, 4:43pm
It must be some very basic error but I just can't figure out this problem.
Here's the code:
$rj = "AA";
$jm = "BB";
if ( $username == $rj or $username == $jm )
{
$mems = ( "Members: " . $numbermembers . ", Threads: " . $totalthreads . ", Posts: " . $totalposts );
}
else
{
$mems = " ";
}
The result of the IF is always coming back as false. I'm sure the variable $username is populated properly.
What's wrong with my code?
Thanks.
Here's the code:
$rj = "AA";
$jm = "BB";
if ( $username == $rj or $username == $jm )
{
$mems = ( "Members: " . $numbermembers . ", Threads: " . $totalthreads . ", Posts: " . $totalposts );
}
else
{
$mems = " ";
}
The result of the IF is always coming back as false. I'm sure the variable $username is populated properly.
What's wrong with my code?
Thanks.