0

My Hello World code is:

<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo "<p>Hello World</p>"; ?> 
 </body>
</html>

The page when ran localhost/test.php loads fine but looks like:

Hello World

"; ?>

Why would my page be adding the "; ?> my code appears to be correct.

Thanks in advance.

Paul Young
  • 133
  • 2
  • 8

0 Answers0