Thread: If, else and ==
View Single Post
Old 02-15-2008, 02:13 PM   #8 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

You might want to use empty() to check if a string is empty, it will consider 0 as empty though.

Else its looking good ;)
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote