0
<!DOCTYPE html>
<html>
    <head>
        <title>My First PHP Web Page</title>
    </head>
    <body>
        <?php print('Hello World!'); ?>
    </body>
</html>

this codes above are just displaying as code in the browser, it doesn't print "hello world". Please help

rioV8
  • 24,506
  • 3
  • 32
  • 49
  • where have you read that a browser can handle PHP code – rioV8 May 23 '22 at 17:03
  • Specifically in that duplicate (if you haven't solve the issue yet) pay attention to the top voted answer, which for whatever reason is buried deep in that page. https://stackoverflow.com/a/5121589/2221001 – JNevill May 23 '22 at 18:45

0 Answers0