se vuoi togliere \n dalla tua $stringa puio fare così: $string = str_replace(chr(10),'',$string); chr(10) corrisponde a \n
Regole del Forum