Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!

saved byDan on 2006-08-04

  • 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.
    }