Re: problem with htmlspecialchars in version5.2.5

From: Date: Mon, 19 May 2008 03:30:11 +0000
Subject: Re: problem with htmlspecialchars in version5.2.5
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-274498@lists.php.net to get a copy of this message
It flance wrote: > Hi, > > this statement: > echo nl2br(htmlspecialchars($row['jobdescription'], ENT_QUOTES, 'UTF-8')); > > works for php4.3.10 but not for php5.2.5 What "doesn't work" exactly? What's the output in php4 compared to php5? -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#274498) next »