Posted by Sean on 10/27/00 11:33
Echo is a construct, print is a function. I think speed wise they
should both be the same.
Try
$good = TRUE;
if($good == TRUE) { echo "blah <br />"; }
You forgot those semi colons. Not sure why it isn't printing out the
/>.
This
$good = TRUE;
if($good = TRUE) { echo "blah <br />"; }
Will always evaluate to try because instead of doing a comparison you
are doing an assignment.
[Back to original message]
|