mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-01 10:04:21 +00:00
Update GameEngine/Database/db_MYSQL.php
This commit is contained in:
@@ -2471,6 +2471,13 @@
|
||||
$result = mysql_query($q, $this->connection);
|
||||
return mysql_fetch_array($result);
|
||||
}
|
||||
|
||||
function getMovementById($id){
|
||||
$q="SELECT * FROM ".TB_PREFIX."movement where moveid = ".$id;
|
||||
$result=mysql_query($q);
|
||||
$array=$this->mysql_fetch_all($result);
|
||||
return $array;
|
||||
}
|
||||
|
||||
function getLinks($id){
|
||||
$q = 'SELECT * FROM `' . TB_PREFIX . 'links` WHERE `userid` = ' . $id . ' ORDER BY `pos` ASC';
|
||||
|
||||
Reference in New Issue
Block a user