View Single Post
Old Oct 28th, 2005, 1:20 AM   #2
crazykid48x
Programmer
 
crazykid48x's Avatar
 
Join Date: Apr 2005
Posts: 96
Rep Power: 4 crazykid48x is on a distinguished road
I know! you'll use arrays often in not only php but in almost all other languages as well. And the best time to use functions is when you have a chunk of code that you repeat several times.

edit: oh yeah, functions are also useful when you want your code to be broken into smaller independant peices. (thats a good habit by the way)
__________________
I had my portable CD player, and took it in the bathroom with me while I went to pee. And the second I whipped my penis out, the theme song to 'Rocky' started playing. I've never felt more manly than in that moment.
crazykid48x is offline   Reply With Quote