João Cândido de Souza Neto wrote:
Hello to all.
I'm using str_replace("\r\n","\\r\\n",addslashes($campo)) to add "\" in mysql data to send to javascript variable.
Running in my machine with win xp + iis it's all ok, but in server with linux + apache, the javascript variable no have "\" causing error in my script.
Anybody know how do i do ?
Thanks.
João Cândido de Souza Neto webdeveloper icq: 1996331 msn: [EMAIL PROTECTED] www.saladamix.com.br
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php