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