Update of /cvsroot/openfirst/meetings
In directory sc8-pr-cvs1:/tmp/cvs-serv17127
Modified Files:
updates.php
Log Message:
Fix database functions so that multiple database types are usable.
Index: updates.php
===================================================================
RCS file: /cvsroot/openfirst/meetings/updates.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** updates.php 9 Nov 2003 20:31:41 -0000 1.1
--- updates.php 23 Nov 2003 14:48:56 -0000 1.2
***************
*** 43,47 ****
for($groups as $group){
! $mailgroupquery = ofirst_dbquery("SELECT * FROM ofirst_members WHERE cellphonesms = '1' AND division = '$group'") or die(mysql_error());
while($mailgroup = ofirst_dbfetch_object($mailgroupquery)){
--- 43,47 ----
for($groups as $group){
! $mailgroupquery = ofirst_dbquery("SELECT * FROM ofirst_members WHERE cellphonesms = '1' AND division = '$group'") or die(ofirst_dberror());
while($mailgroup = ofirst_dbfetch_object($mailgroupquery)){
|