Update of /cvsroot/openfirst/news/rss
In directory sc8-pr-cvs1:/tmp/cvs-serv10368
Modified Files:
rss.php
Log Message:
Fixed error with using mysql rather than ofirst functions.
Index: rss.php
===================================================================
RCS file: /cvsroot/openfirst/news/rss/rss.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** rss.php 11 Nov 2003 02:31:04 -0000 1.5
--- rss.php 12 Nov 2003 00:23:42 -0000 1.6
***************
*** 80,84 ****
// Data for a single RSS item
! $query = ofirst_dbquery("SELECT * FROM ofirst_news LIMIT ".$limit) or die(mysql_error());
while($news = ofirst_dbfetch_object($query)){
--- 80,84 ----
// Data for a single RSS item
! $query = ofirst_dbquery("SELECT * FROM ofirst_news LIMIT ".$limit);
while($news = ofirst_dbfetch_object($query)){
|