Re: problem with htmlspecialchars in version5.2.5

From: Date: Mon, 19 May 2008 08:54:16 +0000
Subject: Re: problem with htmlspecialchars in version5.2.5
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-274503@lists.php.net to get a copy of this message
which special characters dint converted? this function converts only few special characters. try to use htmlentities function instead -- Regards, Sanjeev http://www.sanchanworld.com | http://webdirectory.sanchanworld.com - submit your site On 5/17/08, It flance <itmaqurfe@yahoo.com> wrote: > > Hi, > > this statement: > echo nl2br(htmlspecialchars($row['jobdescription'], ENT_QUOTES, 'UTF-8')); > > works for php4.3.10 but not for php5.2.5 > > I am wondering if i am missing something. > > Thank you > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#274503) next »