irm-1.6-b3/MDB/Common.php
/**
     * This function does several execute() calls on the same statement handle.
     * $params must be an array indexed numerically from 0, one execute call is
     * done for every 'row' in the array.
     *
     * If an error occurs during execute(), executeMultiple() does not execute
     * the unfinished rows, but rather returns that error.
     *
     * @param resource $stmt query handle from prepare()
     * @param array $types array that contains the types of the columns in
     *        the result set
     * @param array $params numeric array containing the
     *        data to insert into the query
     * @param array $parAM_types array that contains the types of the values
     *        defined in $params
     * @return mixed a result handle or MDB_OK on success, a MDB error on failure
     * @access public
     * @see prepare(), execute()
     */
This function does several execute() calls on the same statement handle.
$params must be an array indexed numerically from 0, one execute call is
done for every 'row' in the array.

If an error occurs during execute(), executeMultiple() does not execute
the unfinished rows, but rather returns that error.


This function does several execute () calls on the same statement handle . $params must be an array indexed numerically from 0 one execute call is done for every ' row ' in the array . If an error occurs during execute () executeMultiple () does not execute the unfinished rows but rather returns that error .
function executeMultiple($prepared_query, $types = NULL, $params, $param_types = NULL)
    {
        for($i = 0, $j = count($params); $i < $j; $i++) {
            $result = $this->execute($prepared_query, $types, $params[$i], $param_types);
            if (MDB::isError($result)) {
                return($result);
            }
        }
        return(MDB_OK);
    }
function executeMultiple ( $ prepared_query , $ types = NULL , $ params , $ param_types = NULL ) { for ( $ i = 0 , $ j = count ( $ params ) ; $ i < $ j ; $ i ++ ) { $ result = $ this -> execute ( $ prepared_query , $ types , $ params [ $ i ] , $ param_types ) ; if ( MDB :: isError ( $ result ) ) { return ( $ result ) ; } } return ( MDB_OK ) ; }
This function does several execute() calls on the same statement handle.
This function does several execute () calls on the same statement handle .