danforys.com
Dan is a web developer in London. He is interested in all things Internet, Linux and Mac.
-
Learning PHP - Part 6: Functions
Posted on November 3rd, 2009 No commentsAntabuse Online Buy Erythromycin Zyban Online Buy Soma Prednisone Online Buy Lotrisone Lipitor Online Buy Lipitor Erythromycin Online Buy CoumadinFunctions are a very important PHP feature, and are the building blocks to some very powerful programming techniques. First of all, what is a function?
In the tutorials so far, the PHP scripts have run from the top down. All instructions are performed in the order they appear in the file.
A function can be thought of as a reusable ‘black box’. You (optionally) give it some data (called arguments or parameters), it performs an operation and (optionally) gives you a result.
This is illustrated in the following diagram:

-
Learning PHP - Part 5: Your first dynamic web page
Posted on November 3rd, 2009 No comments -
Learning PHP - Part 4: Controlling flow
Posted on November 2nd, 2009 No comments -
Symptoms of a Wordpress Hack
Posted on November 2nd, 2009 2 comments -
Learning PHP - Part 3: Array basics
Posted on October 26th, 2009 No comments -
Learning PHP – Part 2: Variable Basics
Posted on October 25th, 2009 No comments -
Learning PHP - Part 1: Introduction
Posted on October 24th, 2009 2 comments -
Unsetting http headers in PHP
Posted on August 6th, 2008 3 comments -
Step by step: Moving code between Subversion repositories
Posted on July 23rd, 2008 4 comments -
HTTP Authentication in PHP
Posted on June 12th, 2007 No comments
