Thursday, April 24, 2014

Introduction to PHP - 13/13 - codeacademy.com

Instructions: Let's finish this up! Beneath your existing PHP code, use echo to print out your name and your age, like so:

echo $myName;
echo $myAge;


<!DOCTYPE html>
<html>
    <head>
        <link type='text/css' rel='stylesheet' href='style.css'/>
<title>PHP FTW!</title>
</head>
<body>
 
        <p>
        <?php
        $myName = "Jowett";
        $myAge = 23;
     
        echo $myName;
        echo $myAge;
        ?>
     
        </p>
</body>
</html>

1 comment:

  1. Nice blog...Very useful information is providing by ur blog. find Great beginning php tutorials Very clear and helpful for beginners.

    ReplyDelete