Problem mysql_query

11/16/2013 12:56 sema1995#1
PHP Code:
                local mall mysql_query("SELECT vnum FROM player.item WHERE owner_id = "..pc.get_account_id().." and window = "'MALL'" and pos = "'1'";")
                
                if 
mall.mall[1] != 0 then
                    syschat
("slot ocuped")             
                    return
                
end 
This is correct?

Thanx.