Ok this may look like spam but what the hell...
I'm the owner of phpscriptor.com, I had bigg plans with this domainname
but... well yes, no time. So I'm selling it. I don't want to make profit out
of it. So for, lets say 200 dollar, you can have to domainname. And if you
want, you get the
Hello,
How do you guys handle this problem.
Just a form with a textarea. When I use enters in the textarea it's saved to
the db like this:
database:
first line
second line
when I edit the value in the form:
first line
second line
when I output the value to html:
first linesecond line (unless
Mja, that's not my intention, in that case I also could use nl2br...
Why does this problem exists? And why does it work with pre? Is this a PHP
problem or more a HTML problem?
Robert Cummings wrote:
On Fri, 2009-05-15 at 07:03 -0700, PHPScriptor wrote:
Hello,
How do you guys handle
? What's the reason?
Stuart-47 wrote:
2009/5/15 PHPScriptor cont...@phpscriptor.com:
Hello,
How do you guys handle this problem.
Just a form with a textarea. When I use enters in the textarea it's saved
to
the db like this:
database:
first line
second line
when I edit the value
/ tags (replace \n) and then store it.
This way you needn't use nl2br every time you retrieve the text from db.
-Sterex
On Fri, May 15, 2009 at 7:42 PM, Stuart stut...@gmail.com wrote:
2009/5/15 PHPScriptor cont...@phpscriptor.com:
Hello,
How do you guys handle this problem
5 matches
Mail list logo