[PHP]select * from cbomnew where (comCode= 'PCEC'or comCode='L0X'or comCode='CCEC') [/PHP]
expert please help me on this...
the comCode after WHERE statement are static(hardcoded).. PCEC,L0X,CCEC ...
what should i do if i allow user to add a new comCode????
how do i define ??
after i add a new comCode.. it will store into the database..so
qryselect= "select comCode from table where comCode='???'" because i do not know what the user is going to key in there..
dim A
where (comCode= 'PCEC'or comCode='L0X'or comCode='CCEC' or comCode='A')
help.. thanksssss