View Single Post
Old 03-26-2014, 02:23 PM  
nm_
Confirmed User
 
Industry Role:
Join Date: May 2011
Location: San Diego
Posts: 328
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 ;]
nm_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote