note 38072 deleted from function.str-replace by tomsommer

From: Date: Sat, 10 Jan 2004 21:02:34 +0000
Subject: note 38072 deleted from function.str-replace by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63293@lists.php.net to get a copy of this message
Note Submitter: te0@playrpg.com ---- Daniellus83: I believe it's possible to use nl2br() to insert the <br />'s and htmlspecialchars() to convert all " ' etc. for example: $mystring = $db->query(); $mystring = nl2br($mystring); $mystring = htmlspecialchars($mystring); echo "\n" . $mystring;

« previous php.notes (#63293) next »