As you've already seen, PHP has a lot of built-in functions, addressing almost every need. More importantly, though, it has the capability for you to define and use your own functions for whatever purpose. The syntax for making your own function is
function function_name () { // Function code. }
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.