[ic] Query for count on column

Daniel Davenport DDavenport at newagedigital.com
Fri Jul 28 16:52:39 EDT 2006


> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org 
> [mailto:interchange-users-bounces at icdevgroup.org] On Behalf 
> Of Tim Good
> Sent: 2006 July 27 -- Thursday 12:39 PM
> To: interchange-users at icdevgroup.org
> Subject: RE: [ic] Query for count on column
> Ok resolved problem for perl block:
> ::database_exists_ref('products') is not allowed my safe mode
> At least that is what the error message says.

With perl embedded in a page, i've had better luck using $Db{products}.
In a page, %Db contains references to all the tables specified in the
tables= param to the [perl] tag.

Daniel Davenport
New Age Digital

More information about the interchange-users mailing list