Hi all,
Just quickly, why does everyone use $result ?
As Seinfeld would say 'Not that there's anything wrong with that!'
I've just been noticing that almost every example that requests data from a DB uses $result.
I've checked, it's not a reserved word or variable. So apparently it's not required to only use $result.
So just a quick poll:
[ul][li] 1. Are we just unimaginative? (is that a word?)[/li]
[li] 2. It's easy to read/understand?[/li]
[li] 3. Or did the grandfathers of PHP start a fad that hasn't gone out of style yet?[/li]
[/ul]
I was just wondering, because it doesn't seem to be as common (consistantly) in other languages.
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
tgus
____________________________
Families can be together forever...
Just quickly, why does everyone use $result ?
As Seinfeld would say 'Not that there's anything wrong with that!'
I've just been noticing that almost every example that requests data from a DB uses $result.
I've checked, it's not a reserved word or variable. So apparently it's not required to only use $result.
So just a quick poll:
[ul][li] 1. Are we just unimaginative? (is that a word?)[/li]
[li] 2. It's easy to read/understand?[/li]
[li] 3. Or did the grandfathers of PHP start a fad that hasn't gone out of style yet?[/li]
[/ul]
I was just wondering, because it doesn't seem to be as common (consistantly) in other languages.
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
tgus
____________________________
Families can be together forever...