Thursday, April 24, 2014

Introduction to PHP - 12/13 - codeacademy.com

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>
 
        <p>
        <?php
        $myName = "Jowett";
        $myAge = 22;
        ?>
        </p>  
</body>
</html>

No comments:

Post a Comment