In a recordset, default value in bindparam is ignored.
Example
$rsPR = new WA_MySQLi_RS("rsPR",$bizopp_i,1);
$rsPR->setQuery("SELECT * FROM prodview WHERE package = ?");
$rsPR->bindParam("i", "".(isset($_GET['package'])?$_GET['package']:"") ."", "6"); //colname
$rsPR->execute();
Gives no results if I load the the page without ?package=x query in url, while there are a lot of records in database with filed package = 6. It works with the query.
Thank you