Changeset 510


Ignore:
Timestamp:
Mar 22, 2009, 4:17:44 PM (16 years ago)
Author:
barny
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/player.php

    r433 r510  
    112112        // $this -> NumCheck($guid);
    113113        $this -> db -> select_db($db_characters);
    114         $row = $this -> db -> query("SELECT CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) AS UNSIGNED) AS `level` FROM `characters` WHERE `guid` = '".$guid."' LIMIT 1;") -> fetch_array();
     114        $row = $this -> db -> query("SELECT CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 34), ' ', -1) AS UNSIGNED) AS `level` FROM `characters` WHERE `guid` = '".$guid."' LIMIT 1;") -> fetch_array();
    115115        return $row["level"];
    116116      }
Note: See TracChangeset for help on using the changeset viewer.