Re: [Structures_DataGrid] Column value as url

From: Date: Wed, 07 Feb 2007 18:10:29 +0000
Subject: Re: [Structures_DataGrid] Column value as url
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26519@lists.php.net to get a copy of this message
On 2/7/07, Francesco F <franco@inpe.unipi.it> wrote:
Hi, in my database table there is field with url; when i render Structures_DataGrid, the output of this column is automatic "htmlspecialchars". I can't find a setting for disable this feature (in order to display a correct a href link), can anyone help me?
Well, using htmlspecialchars() is the right thing. If you're getting double escaping then you need to not escape your data before inserting tot he database. If you want to do something special, like outputting HTML links then use a column formatter. -- Justin Patrin

« previous php.pear.general (#26519) next »