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
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;
Introduction to PHP 13/13
<!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

Popular posts from this blog

Title15

Head First Javascript 2

AP102 2016/06/01 資料庫