Location: PHPKode > scripts > Math > math/example.php
<?php
include('testing.classes.php');
$num1 = "154,625.96";
$num2 = "7,548.31";
$num_array = array($num1, $num2);
?>
<html>
<head>
<title>Example Page</title>
</head>
<body>
<p><b>Math Class: </b><u>Add Function</u></p>
<p><?=$num1;?> + <?=$num2;?> = 
<?php
echo $math->add_array($num_array);
?>
</p>
</body>
</html>
Return current item: Math