Hi Gang,
Could an enlightened one please tell me if the OR's in this are valid?
my $dbh=$db->prepare("SELECT docId,docBusName,Email,docContact1,featPending
FROM tblDockets WHERE docAccountStart=$form{'invoice'} OR
featExpire=$form{'invoice'} AND docPending <>0 OR featPending<>0");
Thanks
Adrian Fischer