Chris wrote:
George Babichev wrote:
Hello everyone, I am programming a blog, and most of it is done, except I
have one issue. When I am typing in the form (before I click submit) and I
click the neter key to make a space, the MySQL database does not recognize
that space. How do I make it recognize it?
Unless you're stripping it out, it will recognise it. View HTML Source
and you'll see the newline is actually in there. A "\n" is not a html
newline so you need to convert it.
What you want is http://php.net/nl2br
Uhhh .... did you try this -- nl2br?
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php