Newbie Spellweaver
- Joined
- Aug 19, 2011
- Messages
- 51
- Reaction score
- 6
hello,
i have errors, can you help me?
code of Templates/Map/vilview.tpl (error 1):
code of GameEngine/Database/db_MYSQL.php (error 2):
------------------------------------------------------
thanks for solutions :
i have errors, can you help me?
code of Templates/Map/vilview.tpl (error 1):
PHP:
$query1 = mysql_query('SELECT * FROM `' . TB_PREFIX . 'vdata` WHERE `wref` = ' . mysql_escape_string($_GET['d']));
$data1 = mysql_fetch_assoc($query1);
$query2 = mysql_query('SELECT * FROM `' . TB_PREFIX . 'users` WHERE `id` = ' . $data1['owner']);
$data2 = mysql_fetch_assoc($query2); //line 218
PHP:
function getCoor($wref) {
$q = "SELECT x,y FROM ". TB_PREFIX ."wdata where id = $wref";
$result = mysql_query($q, $this->connection);
return mysql_fetch_array($result); //line 683
}
------------------------------------------------------
thanks for solutions :
Attachments
You must be registered for see attachments list
Last edited: