hey Everyone.. found my answer in the following site: http://www.sitepoint.com/article/php-anthology-3-php-mysql/7
!!!! interesting stuff...! --- In [email protected], "costasb5" <[EMAIL PROTECTED]> wrote: > > Hi fellow php'ers, > > I am developing a page and i have the following problem: > > In a form, i have a textarea element called "elem". When someone types > in there the string > > I've gone > > and submits, then: > 1. in my local, Easyphp implementation, > print $_POST['elem']; > correctly produces > I've gone > > 2. in my live implemention with a web hosting company: > print $_POST['elem']; > produces the altered > I\'ve gone > > (watch the backslash). Is there any way that I can get rid of that > extra backslash? It gets stored in the database, displayed everywhere, > just can't make it go away. I've tried htmlentities to filter the > $_POST['elem'], doesn't work. > > Anyone hjas seen this problem before? Easyphp does it right, as > expected. Why does my web hosting company mess it up? > > Thank you in advance, > Costas >
