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 "
ID |
Game |
Year |
Company |
";
echo "
1 |
Skyrim |
2015 |
Bethesda |
";
echo "
";
?>
Supun
#2
Hi @rileyandcoupons
I can see this in your source code
change <?php
to <?php
and ?>
to ?>
1 Like
If I have a code
<?php
echo 'test daty';
?>
The website sees it as
mlowe4
#4
You’re using .html at the end of your file name change it to .php and it should work
1 Like