View Single Post
Old 03-23-2009, 06:32 PM  
calmlikeabomb
Confirmed User
 
calmlikeabomb's Avatar
 
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
This thread makes my balls hurts.

If they are arrays you should first check to make sure that's indeed what they are.

http://php.net/is_array

Also, try using a switch instead of a null else or long ass if-elseif-else chain.

http://php.net/switch

I'm happy the code you posted here fails
__________________
subarus.
calmlikeabomb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote