Re: [PHP] problem with htmlspecialchars in version5.2.5

2008-05-19 Thread Sanjeev N
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 <[EMAIL PROTECTED]> wrote: > > Hi

Re: [PHP] problem with htmlspecialchars in version5.2.5

2008-05-18 Thread Chris
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.co