MySQL BlueG - Get()Data - multi_threaded question
#3

pawn Код:
PublicEx GetItemName(objectid)
{
    new query[64];
    format(query, sizeof(query), "SELECT `name` FROM `items_data` WHERE `objectid` = %d", objectid);
    mysql_query(1,query);
    mysql_store_result();
    mysql_fetch_field("name",query);
    mysql_free_result();
    return query;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)