Re: Different character sets
| From: | CPT John W. Holmes | Date: | Tue, 20 Jan 2004 14:34:05 +0000 |
| Subject: | Re: Different character sets | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32518@lists.php.net to get a copy of this message | ||
From: "Christine Clerc" <x.clerc@free.fr>
> 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...