Did you try using trim on the values going in and coming out?
Also, any reason why you wouldn't use
Code: Select all
If(!isnull($something))Code: Select all
$something!==NULLModerator: General Moderators
Code: Select all
If(!isnull($something))Code: Select all
$something!==NULL