16.12.2012, 16:40
Код:
static string1[25]; static sql1[90]; format(sql1, sizeof(sql1), "SELECT * FROM `houses` WHERE `OwnerID` = '%d'", idMySQL); mysql_query(sql1); mysql_store_result(); if(mysql_retrieve_row()) { new result[32]; mysql_fetch_field_row(result, "Address"); format(string1, sizeof(string1), "%s", strlen(result)); } else format(string1, sizeof(string1), "None");