Mysql value
#1

Код:
	  	            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");
This code doesn`t work, it should make the string1 to address name.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)