Update of /cvsroot/openfirst/emoticon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6493
Modified Files:
emoticonf.php
Log Message:
Change database query to reflect ANSI standard (ref: http://dotgeek.org/guruarticles.php?guru=view&id=27)
Index: emoticonf.php
===================================================================
RCS file: /cvsroot/openfirst/emoticon/emoticonf.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** emoticonf.php 24 Dec 2003 18:05:50 -0000 1.13
--- emoticonf.php 7 Apr 2004 11:45:12 -0000 1.14
***************
*** 50,54 ****
function emoticon_preview ($limit = 5, $start = 0) {
global $basepath;
! $query = ofirst_dbquery("SELECT * FROM ofirst_emoticon LIMIT $start,$limit");
echo "<table><th>Emoticons</th><th></th>";
while ($emot = ofirst_dbfetch_object($query)) {
--- 50,54 ----
function emoticon_preview ($limit = 5, $start = 0) {
global $basepath;
! $query = ofirst_dbquery("SELECT * FROM ofirst_emoticon LIMIT $start OFFSET $limit");
echo "<table><th>Emoticons</th><th></th>";
while ($emot = ofirst_dbfetch_object($query)) {
|