Consider the following set of code:
$activeProjectsInformationDBParameters = array(10000,8);
$activeProjectsInformation = $activeProjectsInformationDBObject->rawQuery("SELECT * FROM Projects WHERE memberID = ? AND statusCode = ?", $activeProjectsInformationDBParameters);
When I echoed $activeProjectsInformationDBObject->getLastQuery(); , it is showing the following:
SELECT * FROM Projects WHERE memberID = 10000 AND statusCode = 2
The statusCode is being changed to 2 automatically. But I sent 8 as statusCode from the parameters.