I am getting an error when I try to bind parameters to a sql statement that includes a UNION statement. Here is my code:
$sql="SELECT DISTINCT cp.model_code, p.product_code, cp.model_desc, cp.eur_na, '2005' calendar_year, cp.volume, cp.vehicle_pgm_center, cp.valid...