php embedded in html does not print anything on the browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yattarwa
    New Member
    • Dec 2006
    • 1

    #1

    php embedded in html does not print anything on the browser

    <html>
    <head><title>Ex ample</title></head>
    <body>
    <?php
    echo "HELLO WORLD";
    ?>
    </body>
    </html>

    =============== =======
    when I load the html shown above, the browser window is blank? am I missing something. thanks.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Are you sure the file type of your program is .PHP?? (and NOT HTML).

    Ronald :cool:

    Comment

    Working...