|
Posted by Tony on 05/26/05 18:40
"manish" <yehaimanish@gmail.com> wrote in message
news:1885add9.0505260145.496789f9@posting.google.com...
> "thehuby" <rick.huby@e-connected.com> wrote in message
> news:<1116575927.241312.25240@f14g2000cwb.googlegroups.com>...
> Now in the edit form, the data was again displayed exactly the same in
> the textarea exactly the same. But when the data was echoed in the php
> code, the data was displyed without the spaces that was inserted. The
> variabled that was echoed in both textare (at edit time) and at
> displaying come from the database.
>
>
> Welcome
> My web site
>
> Hello everyone,
> In this site you will find some php code.
>
> Now can anyone help with the problem, so that spaces are also
> displayed.
You really have basically two choices, far as I can tell - the problem is
with HTML, not PHP.
Either replace all spaces in the field with ' ' or wrap the entire
output in <pre></pre> tags
Navigation:
[Reply to this message]
|