Loading multiple rows with mysql question
#7

Quote:
Originally Posted by ax1
Посмотреть сообщение
bump
Name is a string variable, which contains characters, you have to set it's lenght.
Код:
enum Data
{
ID,
Name[32]
};
new GroupInfo[Amount_of_groups][Data];
Make sure that you change the "Name" lenght (12) in the loading query.
Код:
cache_get_field_content(i, "Name", GroupInfo[i][Name], mysql, 32);
Reply


Messages In This Thread
Loading multiple rows with mysql question - by ax1 - 08.10.2017, 17:26
Re: Loading multiple rows with mysql question - by Jstylezzz - 09.10.2017, 07:36
Re: Loading multiple rows with mysql question - by ax1 - 09.10.2017, 18:35
Re: Loading multiple rows with mysql question - by Konstantinos - 09.10.2017, 18:50
Re: Loading multiple rows with mysql question - by ax1 - 10.10.2017, 15:50
Re: Loading multiple rows with mysql question - by ax1 - 11.10.2017, 14:21
Re: Loading multiple rows with mysql question - by whadez - 11.10.2017, 14:24
Re: Loading multiple rows with mysql question - by Jstylezzz - 11.10.2017, 15:13

Forum Jump:


Users browsing this thread: 2 Guest(s)