the address string probably has a newline in it or something
123 street
Apt 1
is probably really something like 123 street\n\rApt 1, so maybe look into using preg_replace to replace \n or \n\r with ", " (maybe str_replace works for this too??).
sorry maybe someone who knows php better will chime in with exact code for you ;]
|