• 09Nov

    Lets start with the basics. PHP, like any language has rules to it, and you must follow them or PHP will not understand what you are trying to make it do.
    The Basics
    You need flash to play this tutorial.
    This tutorial goes over the following goals:
    The PHP Tags
    Giving information back to the user
    A little Syntax
    You can find this tutorial video on youtube here.

    Here are the sources used in this tutorial:
    simple.php
    <?php
    define("HAPPY", 22);
    //echo HAPPY;
    
    $simple = (int)$_REQUEST['s'];
    
    $tires = $simple*HAPPY;
    $tires = 1.06*$tires;
    
    echo 'You need to pay us $'.$tires.' in cash today for your '.$simple.' tires.';
    
    ?>

    Here are all the php functions used in this tutorial:

    Posted by Kloplop321 @ 7:46 pm

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.