PHP Tutorial 18 – Functions (PHP For Beginners)
PHP already holds hundreds of built-in functions that you use in your everyday applications, but in PHP you have the ability to create your own functions. A function will carry out a pre-determined set of code and can be called whenever you want it to. Functions can also take parameters so you can specify the data that is entered into a function each time you call it. Functions can also be used to return values. This video will cover the wonderful world of functions.
For more information, check out the website: