->fetch()

->fetch()

->fetch() -- fetch next row

Description

The fetch method gets the next row and sets the objects variables to the rows data. It returns TRUE if data has been collected, and FALSE when there is no more data.

Return value

boolean - TRUE on success and FALSE on failure.

Note

This function can not be called statically.

Fetch is called by staticGet and get calls, so you can override this method in your classes, to add extra data to your object (like formated dates etc)

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.