X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Ffunctions.php;h=382b1488f20512864a68e6091c3e5f3b913e2d2d;hp=28e5937c5a1259f5c9841fcf16f8aa1ef2967789;hb=d3163cc4ad76ea5608cdef1ec53bfa644485315a;hpb=924f395a39eeccbcd54d540613e440cbedd6ba3d diff --git a/include/functions.php b/include/functions.php index 28e5937..382b148 100644 --- a/include/functions.php +++ b/include/functions.php @@ -665,23 +665,23 @@ function display_table () { global $gameid, $GT, $debug,$INDEX,$defaulttimezone; - $result = mysql_query("SELECT User.fullname as name,". - " Hand.position as position, ". - " User.id, ". - " Hand.party as party, ". - " Hand.sickness as sickness, ". - " Hand.point_call, ". - " User.last_login, ". - " Hand.hash, ". - " User.timezone ". - "FROM Hand ". - "LEFT JOIN User ON User.id=Hand.user_id ". - "WHERE Hand.game_id='".$gameid."' ". - "ORDER BY position ASC"); + $result = DB_query("SELECT User.fullname as name,". + " Hand.position as position, ". + " User.id, ". + " Hand.party as party, ". + " Hand.sickness as sickness, ". + " Hand.point_call, ". + " User.last_login, ". + " Hand.hash, ". + " User.timezone ". + "FROM Hand ". + "LEFT JOIN User ON User.id=Hand.user_id ". + "WHERE Hand.game_id='".$gameid."' ". + "ORDER BY position ASC"); echo "