mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-18 01:01:01 +00:00
Update GameEngine/Database/db_MYSQL.php
This commit is contained in:
@@ -2471,6 +2471,13 @@
|
|||||||
$result = mysql_query($q, $this->connection);
|
$result = mysql_query($q, $this->connection);
|
||||||
return mysql_fetch_array($result);
|
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){
|
function getLinks($id){
|
||||||
$q = 'SELECT * FROM `' . TB_PREFIX . 'links` WHERE `userid` = ' . $id . ' ORDER BY `pos` ASC';
|
$q = 'SELECT * FROM `' . TB_PREFIX . 'links` WHERE `userid` = ' . $id . ' ORDER BY `pos` ASC';
|
||||||
|
|||||||
Reference in New Issue
Block a user