Introduction to PHP 13/13
Echo It!
Nice work! PHP computed the value for you, but it didn't appear in your .php document because we didn't print it using
echo
. Let's fix that!
Instructions
<!DOCTYPE html>
<html>
<head>
<link type='text/css' rel='stylesheet' href='style.css'/>
<title>PHP FTW!</title>
</head>
<body>
<?php
$myName="FeEvo";
$myAge= 27;
echo $myName;
echo $myAge;
?>
<p>
</p>
</body>
</html>
CSS code be ignored
Comments
Post a Comment