note 94977 deleted from function.substr by danbrown

From: Date: Sun, 06 Dec 2009 16:28:46 +0000
Subject: note 94977 deleted from function.substr by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163616@lists.php.net to get a copy of this message
Note Submitter: Codified ---- Hello world ;) Doing some work with substr I found something interesting and it may help you. Be careful when using subsrt on a string that you have already used nl2br on. I was able to cut off a string and it broke the <br /> tag, which disrupted the output.

« previous php.notes (#163616) next »