Hi!


> $sql2=str_replace("","\n",$sql2);

> $sql2=str_replace("","\r",$sql2);   


well that was easy:


manual: 

 string str_replace (string needle, string str, string haystack)


and you did: 

                str_replace (string str, string needle, string haystack)


So better try 


$sql2=str_replace("\n","",$sql2);

$sql2=str_replace("\r","",$sql2);   


Time to get some sleep ? ;-)



cheers,


Chris H.



--------------------------------------------------------------------
--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --
--------------------------------------------------------------------





--------------------------------------------------------------------
--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --
--------------------------------------------------------------------

 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to