I'm an extreme newbie, and have been nosing around the PHP.Net site for a
few days. Only, the search function returns alot of information that's not
truly relevant due to Coding samples at the bottom of the pages.
What I'm trying to determine is :
Which is better for printing info to a page based on dynamic variables?
IE - if I have a boolean = True, should I use PrintF, print, echo to spit
out the info?
Also, when I use either, and have a <br /> in the statement, it puts <br>
instead, and I can't for the life of me get it to put /> there at the end.
And one more thing (begins a rambling rant o questions), the syntax for
boolean use (basic format?)
I used
$good = TRUE
if($good == TRUE) { echo "blah <br />" } and it doesn't seem to trigger.
If I use = TRUE, it triggers, but i think that's wrong for some reason.
-Khai
few days. Only, the search function returns alot of information that's not
truly relevant due to Coding samples at the bottom of the pages.
What I'm trying to determine is :
Which is better for printing info to a page based on dynamic variables?
IE - if I have a boolean = True, should I use PrintF, print, echo to spit
out the info?
Also, when I use either, and have a <br /> in the statement, it puts <br>
instead, and I can't for the life of me get it to put /> there at the end.
And one more thing (begins a rambling rant o questions), the syntax for
boolean use (basic format?)
I used
$good = TRUE
if($good == TRUE) { echo "blah <br />" } and it doesn't seem to trigger.
If I use = TRUE, it triggers, but i think that's wrong for some reason.
-Khai
Comment