Reply to Re: using IFrames ... and when there is an enter character...

Your name:

Reply:


Posted by Dawsons on 02/14/06 11:24

Do a str_replace on the </p> so that it replaces with \n or double \n...
then just hve the document strip <p> clean...

as the other guy said, you need to make sure theres no return break
otherwise javascript gets arsey!


"GooderThanYou" <gooderthanyou@gmail.com> wrote in message
news:1139430359.412120.310780@z14g2000cwz.googlegroups.com...
>I have "<P>moo</P><P>moo</P>" stored in mysql...
>
> I pull that and get rid of the <P> and </P> characters perfectly fine
>
> Then I output the string in a text box and it says "moomoo"
>
> Now when I write it to a IFrame... it will not let me edit the iframe
> and nothing shows up either...
>
> If I write $test = "moomoo"; it will work, but it won't let me get rid
> of the html, nor does it like "\nmoo" which i'm going to need to use.
>
> There are no blank spaces either..... I don't know what the heck it is
> doing
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация