in reply to DBI problem

Hi,

The holders of places is for the conditional clause.

 select passwd from pinfo where name=? should be the select and also do remember select entertains constants like

 select 'passwd' from pinfo ;

is the one that can give you "passwd" as the resultset .You have to make that a part of the select ,cause , the parser assumes

 passwd as "passwd"
,