How to Replace Backslash ( / )?

How to Replace Backslash ( / )?

am 23.02.2006 18:34:40 von coder

Hello,

I have a content management page where I can place rich text.

On the confirmation page I display the rich text the user has inputted.
However, I am noticing that when images are included in teh rich text,
the confirmation page is not displaying it. When looking at the souce
code, it is outputting:

\"Gmail\"<br src=\"https:mail.google.commailhelpimageslogo.gif\" width=\"143\"
align=\"left\" vspace=\"10\" border=\"0\" >

Now, when I submit this the image does get inserted into the database
properly. However, on the confirmation page is does not. Is there a
replace function to use for "\" to only display the rich text on the
confirmation page?

I would use a separate variable to retain the above formating so that
MySQL doesn't throw an error.

Any assistance would be much appreciated!!

Re: How to Replace Backslash ( / )?

am 26.02.2006 05:48:54 von Johnny

"coder" wrote in message
news:1140716080.689201.35420@u72g2000cwu.googlegroups.com...
> Hello,
>
> I have a content management page where I can place rich text.
>
> On the confirmation page I display the rich text the user has inputted.
> However, I am noticing that when images are included in teh rich text,
> the confirmation page is not displaying it. When looking at the souce
> code, it is outputting:
>
> \"Gmail\"<br > src=\"https:mail.google.commailhelpimageslogo.gif\" width=\"143\"
> align=\"left\" vspace=\"10\" border=\"0\" >
>
> Now, when I submit this the image does get inserted into the database
> properly. However, on the confirmation page is does not. Is there a
> replace function to use for "\" to only display the rich text on the
> confirmation page?
>
> I would use a separate variable to retain the above formating so that
> MySQL doesn't throw an error.
>
> Any assistance would be much appreciated!!
>
err how about
stripslashes

Re: How to Replace Backslash ( / )?

am 26.02.2006 06:57:56 von coder

yes! thx!