[thelist] mysql select statement

Adrian Fischer adrian at logo-logic.com
Sun Apr 29 01:52:00 CDT 2001


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





More information about the thelist mailing list