public int getItemId(String name)
    {
        try {
        ResultSet rs = sql.doquery("SELECT id FROM bout_items WHERE name='"+ name +"' LIMIT 1");
        if (rs.next())
        {
            return rs.getInt("id");
        }
        return 0;
        } catch (Exception e){

        }
        return 0;
    }