private function bindParams($statement, $params)
    {
        foreach ($params as $param) {
            $statement->bindValue($param[0], $param[1], $param[2]);
        }
    }
private function bindParams($statement, $params)
    {
        foreach ($params as $param) {
            $statement->bindValue($param[0], $param[1], $param[2]);
        }
    }
private function bindParams ( $ statement , $ params ) { foreach ( $ params as $ param ) { $ statement -> bindValue ( $ param [ 0 ] , $ param [ 1 ] , $ param [ 2 ] ) ; } }
Bind params to SQL statement.

@param Statement $statement
@param array     $params
Bind params to SQL statement .