I have been trying to teach myself PHP. I installed PHP with the install for AppServ on Windows(just reference info). When I tried to see if I could get a proper output I was having trouble. This is what I used that showed the right results, but according to all the references I have seen the syntax is wrong.
<HTML>
<HEAD>
<TITLE> MY FIRST PHP PAGE </TITLE>
</HEAD>
<BODY
<?php echo?> "Hello World!" <br> "Hello World"
<?php print?><br> "Hello Indiana!"
</BODY>
</HTML>
If I enter this:
<HTML>
<HEAD>
<TITLE> MY FIRST PHP PAGE </TITLE>
</HEAD>
<BODY
<?php echo "Hello World!" <br> "Hello World"?>
<?php print<br> "Hello Indiana!" ?>
</BODY>
</HTML>
I get this as an outcome:
"Hello World"?> "Hello Indiana!"?>
Can anyone help me understanding why I am having this problem.