Learning PHP and MySQL
Example 04-01 Sum of values
<?php
$Margaritaville = 3; // Three margaritas
$Sun_Tan_Application = 2; // Two applications of sun tan
$Fun_in_the_Sun = $Margaritaville + $Sun_Tan_Application;
echo $Fun_in_the_Sun;
?>
Posted by on 08/03 at 08:06 AM
Next entry: Example 04-02 Casting a variable
Previous entry: Example 03-25 Using pre- and post-increment