Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/adodb/adodb-iterator.inc.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004   V5.14 8 Sept 2011   (c) 2000-2011 John Lim (jlim#natsoft.com). All rights reserved.
00005   Released under both BSD license and Lesser GPL library license. 
00006   Whenever there is any discrepancy between the two licenses, 
00007   the BSD license will take precedence.
00008   
00009   Set tabs to 4.
00010   
00011   Declares the ADODB Base Class for PHP5 "ADODB_BASE_RS", and supports iteration with 
00012   the ADODB_Iterator class.
00013   
00014                 $rs = $db->Execute("select * from adoxyz");
00015                 foreach($rs as $k => $v) {
00016                         echo $k; print_r($v); echo "<br>";
00017                 }
00018                 
00019                 
00020         Iterator code based on http://cvs.php.net/cvs.php/php-src/ext/spl/examples/cachingiterator.inc?login=2
00021         
00022         
00023         Moved to adodb.inc.php to improve performance.
00024  */
00025  
00026 
00027 
00028 
00029 
00030 ?>
 All Data Structures Namespaces Files Functions Variables Enumerations