[Mapbender-commits] r4356 - branches/mifan_dev/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 15 06:05:21 EDT 2009


Author: mifan
Date: 2009-07-15 06:05:21 -0400 (Wed, 15 Jul 2009)
New Revision: 4356

Modified:
   branches/mifan_dev/mapbender/http/classes/class_csw.php
Log:
insert with gui

Modified: branches/mifan_dev/mapbender/http/classes/class_csw.php
===================================================================
--- branches/mifan_dev/mapbender/http/classes/class_csw.php	2009-07-15 08:00:39 UTC (rev 4355)
+++ branches/mifan_dev/mapbender/http/classes/class_csw.php	2009-07-15 10:05:21 UTC (rev 4356)
@@ -300,6 +300,17 @@
 		echo $sql;
 		$cat_insert_id = db_insert_id($con,'cat', 'cat_id');
 		
+		
+		//GUI_CAT 
+		$sql ="INSERT INTO gui_cat (fkey_gui_id, fkey_cat_id) ";
+		$sql .= "VALUES($1,$2)";
+		$v = array($gui_id,$cat_insert_id);
+		$t = array('s','i');
+		$res = db_prep_query($sql,$v,$t);
+		if(!$res){
+			db_rollback();	
+		}
+		
 		//Commit Changes
 		db_commit();
 		



More information about the Mapbender_commits mailing list