DW> Second SELECT %s FROM ... without the conf->rec.isactive_field most DW> propably needs the AND %s!=0 wacked :-)
d`oh. Fixed :) DW> dbi_escape() escape scares me - i.e. it lets unicode and other fun like DW> \n, \r, nl/cr survive. Are we sure that all backend DB's can handle DW> that ? Or does the DBI interface make a very explicit promise that DW> you -only- have to escape \,' and " ? I now use DBI's own escaping functions, which uses each drivers escaping function. thanks for the comments and suggestions DW. so. What does everyone thing about including this in apache-2.1? newest version is at: http://open.cyanworlds.com/#AUTHN_DBI -chip