Help for this page
if ($x>10) { $query="(select Name from Customers where CustId='$custid +')" } else { $query="(select Name from Sales where SalesId='$salesid' + and CustId='$custid')" }
$sth->execute(?)
$sth->execute(?,?)