0 1

Web Technology II010 marksFunction definition and invocation

What is a function? How can you define and call a function in PHP? Write a PHP program to implement a function with parameters and return value.

What is a function? How can you define and call a function in PHP? Write a PHP program to implement a function with parameters and return value.[10]

A function is a reusable block of code that performs a specific task. It can accept input values (called parameters) and can send back a result (called a return value) to the calling code. Key benefits of using functions: - Code reusability - write once, call many times - Modularity - breaks a la...

Up nextHow can you retrieve form data? Write a PHP program to create a form data that will take a