Calling an image
View Single Post
06-03-2008, 05:56 PM
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
why do you use the function before it is declared?
PHP is compiled server side before it's ran, you can declare a function anywhere on the page, and use it anywhere else as you please. Same with classes, etc. You can even use a function inside of itself (recursive functions). It is PHP Hypertext Preprocessor after all.
The Following 2 Users Say Thank You to delayedinsanity For This Useful Post:
View Public Profile
Send a private message to delayedinsanity
Visit delayedinsanity's homepage!
Find More Posts by delayedinsanity