Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

define function in php

<?php

function addTwoNumbers($number1, $number2){
    echo "Result: ",$number1+$number2;
}

addTwoNumbers(100, 125);
?>
 
PREVIOUS NEXT
Tagged: #define #function #php
ADD COMMENT
Topic
Name
8+1 =