2081 9

CSC329 ยท 2081 ยท 5 marks

Write a PHP function add that takes two arguments as an input and return their sum.

Write a PHP function add that takes two arguments as an input and return their sum. [5]

Web TechnologyChapter 6: Server Side Scripting using PHPFunctions

Based on the PHP Functions and Function Arguments concepts A PHP function is declared using the function keyword, and arguments are passed inside the parentheses separated by commas. --- --- --- Part Description ------ function add(...) Declares a user-defined function named add $num1, $num2 Two ...