Update line 82 to:
$ATC_itemQuantity = floatval("1");// column binding
Update line 74 to:
$ATC_itemID = "".$row_WADAproducts['ProductID'] ."";
Then you can open the Add To Cart server behavior to see how it would be entered in that interface. It looks like you entered the wrong value for the itemID and Quantity bindings.