Jump to content

EZ Echo Problem


johne281

Recommended Posts

hi. I got a book teaching me php and here is my problem. I am entering the following code:

 

<html>

    <head>

        <title>Bob's Auto Parts - Order Results</title>

    </head>

    <body>

        <h1>Bob's Auto Parts</h1>

        <h2>Order Results</h2>

        <?php

        echo '<p>Order processed.</p>';

        ?>

    </body>

</html>

 

It is displaying everything fine except in the browser it also shows

 

'; ?> 

 

under the words Order processed. What am I doing wrong?

Link to comment
https://forums.phpfreaks.com/topic/164733-ez-echo-problem/
Share on other sites

<html>
    <head>
        <title>Bob's Auto Parts - Order Results</title>
    </head>
    <body>
        <h1>Bob's Auto Parts</h1>
        <h2>Order Results</h2>
        <?php
        echo '<p>Order processed.</p>';
        ?>
    </body>

</html>

Link to comment
https://forums.phpfreaks.com/topic/164733-ez-echo-problem/#findComment-868698
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.