22.01.2016, 13:39
code below should get house id and house owner name and print it
What I get printed
Why cant it get owner name? Is something wrong with code or could be something wrong is mysql phpmyadmin?
Код:
HouseInfo[houseid][ID] = cache_get_field_content_int(i, "HouseID"); HouseInfo[houseid][hOwner]=cache_get_field_content(i, "Owner", HouseInfo[houseid][hOwner]); new string[200]; format(string, sizeof(string), "House ID : %i ; Owner : %s", HouseInfo[houseid][ID], HouseInfo[houseid][hOwner]); print(string);
Код:
[16:33:26] House ID : 42 ; Owner : [16:33:26] House ID : 43 ; Owner : [16:33:26] House ID : 44 ; Owner :