public function bindQueryParams($stmt, $paramType, $paramArray = array()) { $paramValueReference[] = & $paramType; for ($i = 0; $i < count($paramArray); $i ++) { $paramValueReference[] = & $paramArray[$i]; } call_user_func(array( $stmt, 'bind_param' ), $paramValueReference); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)