creating your own functions

Tutorials Shared by the Internet Community

Advertisements


creating your own functions

A guide to creating your own functions and how to use them.

Statistics

  • Total Hits - 32502

  • Total Votes - 100 votes

  • Vote Up - 43 votes

  • Vote Down - 57 votes

  • Domain - rawcliffe.wordpress.com

  • Category - PHP/Functions

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-03-19 05:39:33

Description

When you have a set of variables or want to make your code simpler, you will use a function. Creating a function is really easy all you have to do is write something like:<br /><br /> function myFunctionName() {<br /> //Function data<br /> }    More detail...


Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements