HTMLify

Variable.php
Views: 116 | Author: djdj
<?php
    $name = "Dj";
    echo "This is $name";

/*
1. start with a $ sign.
2. cannot satrt with a number.
3. must start with a letter or an-underscore char.
4. can only contain alphanumeric character and underscore.
5. variables in php are case sensitive.
6. keywords are not case sensitive.
*/
?>

Comments