Introduction to PHP 12/13
Let the Machine Do the Math
Remember, computers were built to do the stuff we don't want to! And that includes doing tedious computations.
Instructions
After your first variable, declare a second,
$myAge
, and set it equal to your age as a number. Remember: no quotes around numbers!<!DOCTYPE html>
<html>
<head>
<link type='text/css' rel='stylesheet' href='style.css'/>
<title>PHP FTW!</title>
</head>
<body>
<?php
$myName="FeEvo";
$myAge= 27;
?>
<p>
</p>
</body>
</html>
CSS code be ignored
Comments
Post a Comment