note 47533 deleted from function.mysql-escape-string by sean
| From: | sean@php.net | Date: | Fri, 19 Nov 2004 16:33:17 +0000 |
| Subject: | note 47533 deleted from function.mysql-escape-string by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80760@lists.php.net to get a copy of this message | ||
Note Submitter: NevYn at lanparty dot se
----
there is a very good way to convert your newlines before you insert them into your table:
nl2br($string);
with this, newlines is inserted as: <br />
----
Reason: bad code