Posted by Sanders Kaufman on 01/10/07 04:30
Paul Lautman wrote:
> I have the following switch statement:
> Is it correct that php treats NULL as 0?
> Can anyone suggest a good fix?
Stuckle had a great little one-line if-then to deal with that.
He posted it for me a few days ago, but I didn't save it.
I was gonna axe him to repost it, and this is a good opportunity.
Would you post it again, Herr Stuckle?
Navigation:
[Reply to this message]
|