Mysql cant get string
#1

code below should get house id and house owner name and print it
Код:
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);
What I get printed

Код:
[16:33:26] House ID : 42 ; Owner : 
[16:33:26] House ID : 43 ; Owner : 
[16:33:26] House ID : 44 ; Owner : 
Why cant it get owner name? Is something wrong with code or could be something wrong is mysql phpmyadmin?
Reply


Messages In This Thread
Mysql cant get string - by Aa12 - 22.01.2016, 13:39
Re: Mysql cant get string - by jlalt - 22.01.2016, 14:06
Re: Mysql cant get string - by Aa12 - 22.01.2016, 14:12
Re: Mysql cant get string - by JeaSon - 22.01.2016, 14:20
Re: Mysql cant get string - by jlalt - 22.01.2016, 14:20
Re: Mysql cant get string - by Aa12 - 22.01.2016, 14:38
Re: Mysql cant get string - by yvoms - 22.01.2016, 14:39

Forum Jump:


Users browsing this thread: 2 Guest(s)