Thread
:
Why Does ' ' Work Better Than NULL in This Code?
View Single Post
10-08-2011, 10:55 AM
PM User
|
#
12
Dormilich
Senior Coder
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,855
Thanks: 9
Thanked 288 Times in 284 Posts
Quote:
Originally Posted by
Wanna
You set them as null and you check them as NULL
PHP is case sensitive
nope. PHP allows you define constants as case-(in)sensitive. NULL is defined case-insensitive (
ref.
)
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich
View Public Profile
Find More Posts by Dormilich