T
Tom Carivichi
Guest
<?php
$my_name = "someguy";
if ( $my_name == "someguy" ) {
echo "Your name is someguy!>br /<";
}
echo "Welcome to my homepage!";
?>
For some reason when ever I type a code like this into wordpad and execute in Firefox, it comes out like this
"; } echo "Welcome to my homepage!"; ?>
and if I remove this: >br /<
It comes up as a blank page.
Why is this happening? This is from a php tutorial site
Note: >br /<'s have flipped ><'s to keep them visible
$my_name = "someguy";
if ( $my_name == "someguy" ) {
echo "Your name is someguy!>br /<";
}
echo "Welcome to my homepage!";
?>
For some reason when ever I type a code like this into wordpad and execute in Firefox, it comes out like this
"; } echo "Welcome to my homepage!"; ?>
and if I remove this: >br /<
It comes up as a blank page.
Why is this happening? This is from a php tutorial site
Note: >br /<'s have flipped ><'s to keep them visible