-
本站唯一客服QQ:4552609
|
||||||
//根据物品id获取物品位置
function item_window($id){ $itemsql = mysql_query("select * from player.item where id = '$id'"); $rs=mysql_fetch_array($itemsql); if ($rs[window]=='EQUIPMENT'){ $mallname = "身上"; }elseif ($rs[window]=='INVENTORY'){ $mallname = "包裹"; }elseif ($rs[window]=='SAFEBOX'){ $mallname = "普通仓库"; }elseif ($rs[window]=='MALL'){ $mallname = "道具仓库"; } return $mallname; mysql_close(); } |
||||||
|