[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ]

Class: MDB2_Result_mysql

Source Location: /MDB2_Driver_mysql-1.5.0b4/MDB2/Driver/mysql.php

Class Overview


MDB2 MySQL result driver



Child classes:

MDB2 MySQL buffered result driver

Inherited Variables

Inherited Methods

Class Details

[line 1358]
MDB2 MySQL result driver

[ Top ]

Method Detail

fetchRow   [line 1371]

int fetchRow( [int $fetchmode = MDB2_FETCHMODE_DEFAULT], [int $rownum = null])

Fetch a row and insert the data into an existing array.
  • Return: data array on success, a MDB2 error on failure
  • Access: public


int   $fetchmode   —  how the array data should be indexed
int   $rownum   —  number of the row where the data can be found

[ Top ]

free   [line 1506]

boolean free( )

Free the internal resources associated with result.
  • Return: true on success, false if result is invalid
  • Access: public

[ Top ]

numCols   [line 1481]

mixed numCols( )

Count the number of columns returned by the DBMS in a query result.
  • Return: integer value with the number of columns, a MDB2 error on failure
  • Access: public

[ Top ]

Documentation generated on Wed, 09 Dec 2015 23:02:22 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.