[Mapbender-commits] r5969 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Apr 16 11:32:17 EDT 2010


Author: christoph
Date: 2010-04-16 11:32:17 -0400 (Fri, 16 Apr 2010)
New Revision: 5969

Modified:
   trunk/mapbender/lib/database-pgsql.php
Log:
added db_fetch_assoc

Modified: trunk/mapbender/lib/database-pgsql.php
===================================================================
--- trunk/mapbender/lib/database-pgsql.php	2010-04-16 15:31:50 UTC (rev 5968)
+++ trunk/mapbender/lib/database-pgsql.php	2010-04-16 15:32:17 UTC (rev 5969)
@@ -329,7 +329,16 @@
 function db_fetch_array($qhandle) {
 	return @pg_fetch_array($qhandle);
 }
+/**                                                       
+ * fetch a row into an associative array 
+ * 
+ *  @param		$qhandle (string)	Query result set handle
+ *  @param		$fnumber (int)	Column number
+ */
+function db_fetch_assoc($qhandle) {
+	return @pg_fetch_assoc($qhandle);
 
+}
 function db_fetch_all($qhandle){
 		return @pg_fetch_all($qhandle);
 }



More information about the Mapbender_commits mailing list