";
echo gettype($count)."
";
echo $list_price."
";
echo gettype($list_price)."
";
echo $first_name."
";
echo gettype($first_name)."
";
echo $is_valid."
";
echo gettype($is_valid)."
";
echo $is_new."
";
echo gettype($is_new)."
";
echo MAX_QTY."
";
echo gettype(MAX_QTY)."
";
?>
";
$result = $x - $y;
echo $x . " - " . $y . " = " . $result . "
";
$result = $x * $y;
echo $x . " x " . $y . " = " . $result . "
";
$result = $x / $y;
echo $x . " / " . $y . " = " . $result . "
";
$result = $x % $y;
echo $x . " mod " . $y . " = " . $result . "
";
?>
";
$nf = number_format(12345, 2); //2 decimal places
echo $nf . "
";
echo gettype($nf)."
";
$nf = number_format(12345.6789, 2); //round 2 decimal
echo $nf . "
";
$date = date('Y-m-d');
echo $date."
";
echo gettype($date)."
";
$date = date('m/d/y');
echo $date."
";
$date = date('M.d.Y,D');
echo $date."
";
?>
"; if (empty ($investment)) { echo '$investment is empty'; } ?>
";
$counter++;
}
echo "
";
for ($counter = 1; $counter <=12; $counter = $counter+1)
{
print "$counter
";
}
echo "
";
for ($x=1; $x<=12; $x=$x+1)
{
for ($y=1; $y<=6; $y=$y+1)
{
echo $x.",".$y."; ";
}
echo "
";
}
echo "
";
echo "
\n"; echo $x.",".$y."; "; echo " | \n"; } echo "