From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- vendor/adodb/adodb-php/adodb-iterator.inc.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vendor/adodb/adodb-php/adodb-iterator.inc.php (limited to 'vendor/adodb/adodb-php/adodb-iterator.inc.php') diff --git a/vendor/adodb/adodb-php/adodb-iterator.inc.php b/vendor/adodb/adodb-php/adodb-iterator.inc.php new file mode 100644 index 0000000..a223f38 --- /dev/null +++ b/vendor/adodb/adodb-php/adodb-iterator.inc.php @@ -0,0 +1,26 @@ +Execute("select * from adoxyz"); + foreach($rs as $k => $v) { + echo $k; print_r($v); echo "
"; + } + + + Iterator code based on http://cvs.php.net/cvs.php/php-src/ext/spl/examples/cachingiterator.inc?login=2 + + + Moved to adodb.inc.php to improve performance. + */ -- cgit v1.2.3-70-g09d2