Update GameEngine/Database/db_MYSQL.php

This commit is contained in:
BrainiacX
2012-04-07 18:15:42 +04:00
parent bf27475b88
commit 79344a3b75
+7
View File
@@ -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';