Yes, it should be:
<?php
$OrderDetails = new WA_MySQLi_RS("OrderDetails",$DealersSupplyCo,1);
$OrderDetails->setQuery("SELECT * FROM orderdetails WHERE DetailOrderID =?");
$OrderDetails->bindParam("i", "".($WADAorders_details->getColumnVal("OrderID")) ."", "-1"); //colname
$OrderDetails->execute();
?>