Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

parameterized function in php

<?PHP
  //Adding two numbers  
  function add($x, $y) {  
    $sum = $x + $y;  
    echo "Sum of two numbers is = $sum <br><br>";  
  }   
  add(467, 943);  
?>
 
PREVIOUS NEXT
Tagged: #parameterized #function #php
ADD COMMENT
Topic
Name
6+4 =