Saturday, August 9, 2014

Function With Argument

<?php
$num1 = 1000;
$num2 = 500;

function ADD($num1, $num2){
echo $result = $num1 + $num2;
}

ADD($num1, $num2);

?>

No comments:

Post a Comment