PHP Math!


For example: math.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PHP Math</title>
</head>

<body>
<h1>PHP Math!</h1>
<?php

print("100 + 10 = ".( 100 10 )." Addition.<br />");
print(
"100 - 10 = ".( 100 10 )." Subtraction.<br />");
print(
"100 * 10 = ".( 100 10 )." Multiplication.<br />");
print(
"100 / 10 = ".( 100 10 )." Division.<br />");
print(
"99 % 10 = ".( 99 10 )." Modulus.<br />");


?>
</body>
</html>