PEAR Handbuch | ||
---|---|---|
Zurück | Nach vorne |
This function does several execute() calls on the same statement handle. $data 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. See "Execute"-section for further information.
Parameter
$stmt - query handle from prepare()
$data - numeric array containing the data to insert into the query
Returns
resource - a new DB_Result or a DB_Error when fail
Zurück | Zum Anfang | Nach vorne |
DB::execute() | Nach oben | DB::query() |