Re: Different character sets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Christine Clerc" <x.clerc@xxxxxxx>
> My pages collect short texts from different languages through HTML
> forms. The texts are stored in a MySQL database. Then, they are used
> in HTML pages.
>
> Problem 1 : the carriage returns don't show back up.

Yes they do. Look at the HTML source of your page and the newlines are
there. HTML doesn't recognize newlines, though. Use the nd2br() function or
some homegrown method to convert the newlines into <br /> elements that HTML
understands.

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux