PHP echo is being displayed


#1

echo is not being read properly. Why does the echo come out under “Display Data from Database”???
http://rileyandcoupons.000webhostapp.com/Database/

Display Data into DB table { border: 2px solid red; background-color: #FFC; }

th {
border-bottom: 5px solid #000;
}
td {
border-bottom: 2px solid #666;
}

Display Data from Database

<?php echo ""; echo ""; echo ""; echo "
ID Game Year Company
1 Skyrim 2015 Bethesda
"; ?>

#2

Hi @rileyandcoupons

I can see this in your source code

change &lt;?php to <?php
and ?&gt; to ?>


#3

If I have a code

<?php echo 'test daty'; ?>

The website sees it as


#4

You’re using .html at the end of your file name change it to .php and it should work