Learning PHP and MySQL

Example 03-22 PHP mathematical function usage

<?php>
$sunny_days=300;
$Margaritaville_sunny_days_ratio=$sunny_days/365;
echo  
$Margaritaville_sunny_days_ratio;
?>

Posted by on 07/19 at 03:57 PM

Next entry: Example 03-23 Using autoincrement to add to a variable

Previous entry: Example 3-21 Echoing the line and file predefined constants for a script called predefined_constants

<< Back to main