MYSQL - Create columns.
#5

Sorry but I'm good at PAWNO. I had Y_INI and now I want to converting into MYSQL.

If I have to store a variable that number is 50, I CAN'T create by manual 50 columns and I want to do it by pawno. So please, post an example post.. so I can understand, thank you.


With Y_INI to store 50 variables, I did:

PHP код:

for(new num 0num sizeof(Water); num++) 

new 
string[150]; 
format(stringsizeof(string), "Water_%d"num); 
INI_WriteInt(stringPlayerInfo[playerid][Water][num]);

Reply


Messages In This Thread
MYSQL - Create columns. - by DarkLouis - 07.06.2015, 19:29
Re: MYSQL - Create columns. - by Konstantinos - 07.06.2015, 19:50
Re: MYSQL - Create columns. - by DarkLouis - 08.06.2015, 11:06
Re: MYSQL - Create columns. - by Sergei - 08.06.2015, 11:09
Re: MYSQL - Create columns. - by DarkLouis - 08.06.2015, 11:13
Re: MYSQL - Create columns. - by Sergei - 08.06.2015, 11:18
Re: MYSQL - Create columns. - by DarkLouis - 08.06.2015, 11:19

Forum Jump:


Users browsing this thread: 1 Guest(s)