Incrementally use ->fields for recordsets, ->f is not supported by adodb. Remove...
authorsoranzo <soranzo>
Wed, 10 Jan 2007 00:28:33 +0000 (00:28 +0000)
committersoranzo <soranzo>
Wed, 10 Jan 2007 00:28:33 +0000 (00:28 +0000)
DEVELOPERS

index 316a8998e183bfed9e9dff27ac02e7e3096b45c7..c80e2880518c35ec9194009c0c383239f3a10912 100644 (file)
@@ -98,7 +98,7 @@ This is the general form for looping over a recordset:
 $rs = $class->getResults();
 if (is_object($rs) && $rs->recordCount() > 0) {
        while (!$rs->EOF) {
-               echo $rs->f['field'];
+               echo $rs->fields['field'];
                $rs->moveNext();
        }
 }