Another possible problem is that the OP uses the table alias C, but never defines it anywhere that I can see (no pun intended.) Perhaps what was meant was:
$sql= "SELECT C.mast1, C.mast2 FROM MASTER AS C WHERE C.mast1=? AND C.mast2=?";In reply to Re^2: Value to Sub
by Yendor
in thread Value to Sub
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |