you could trim the $row...
trim removes all extra whitespace from the end of your string... in this case it's the rows your calling have an extra return in them... THE BEST option would be to trim it on DB insert though as opposed to trimming it when trying to call it... my
$arr = split("\n", trim($row2['properties']));
Let us live so that when we come to die even the undertaker will be sorry. - Mark Twain
Don't PM me your CSS, xHTML, JS or PHP questions. I will not reply to ANY IE6 questions.