[Openfirst-cvscommit] projects/admin editgroups.php,1.7,1.8
Brought to you by:
xtimg
From: <xt...@us...> - 2003-11-23 14:49:38
|
Update of /cvsroot/openfirst/projects/admin In directory sc8-pr-cvs1:/tmp/cvs-serv17212/admin Modified Files: editgroups.php Log Message: Fix database functions so that multiple database types are usable. Index: editgroups.php =================================================================== RCS file: /cvsroot/openfirst/projects/admin/editgroups.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** editgroups.php 23 Oct 2003 13:24:28 -0000 1.7 --- editgroups.php 23 Nov 2003 14:49:34 -0000 1.8 *************** *** 64,68 **** if(isset($_POST['editmods'])){ ! ofirst_dbquery("UPDATE ofirst_projects_groups SET Moderators = '".$_POST['moderators']."' WHERE ID = '".$_GET['GroupID']."';") or die(mysql_error()); $group_query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); --- 64,68 ---- if(isset($_POST['editmods'])){ ! ofirst_dbquery("UPDATE ofirst_projects_groups SET Moderators = '".$_POST['moderators']."' WHERE ID = '".$_GET['GroupID']."';") or die(ofirst_dberror()); $group_query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); |