Class for use when handling database query results
void DB_result ( &DB database handle, resource database result resource )
This class is used for handling database query results. It attempts vaguely to maintain a public interface similar to that of the equivalent PEAR class of the same name.
[none]
::affectedRows - Return the number of rows affected by the previous operation
::fetchIntoObject - Get the next result row from a query and store it in an object
::fetchRow - Get an array with the next result row from a query
::insertedId - Get the primary key of the last row inserted into the database
::numRows - Get the number of rows in the result
::getArray - Get an associative array containing two fields of all rows from the result
See also DB Class.
| You are here: Home > Documentation > DB_result Class |