ocifetchstatement

Description

ocifetchstatement() fetches all the rows from a result into a user-defined array. ocifetchstatement() returns the number of rows fetched. skip is the number of initial rows to ignore when fetching the result (default value of 0, to start at the first line). maxrows is the number of rows to read, starting at the skipth row (Default to -1, meaning all the rows).

flags represents the available options for, which can be any combinaisons of the following :