Load Transaction from database to dialog
#4

Ok i have two results

printf("%s",Query);
mysql_fetch_row_format(Query,"|");
printf("%s",Query);
sscanf(Query,"p<|>s[500]",Transaction[playerid]);
printf("%s",Query);

1. In database
----------------
Some words

1.print - SELECT `Transaction` FROM `transactionbank` WHERE `Username` ='%s' LIMIT 1
2.print - with mysql_fetch_field_row - "words|" .. with sscanf - "Some words"
3.print - with mysql_fetch_field_row - "words|" .. with sscanf - "Some words"

2. In database
-----------------
Some words
Some words

1.print - SELECT `Transaction` FROM `transactionbank` WHERE `Username` ='%s' LIMIT 1
2.print - with mysql_fetch_field_row - "Some" ... with sscanf - "Som"
3.print - with mysql_fetch_field_row - "Some" ... with sscanf - "Som"
Reply


Messages In This Thread
Load Transaction from database to dialog - by djmckjuba - 06.03.2016, 13:37
Re: Load Transaction from database to dialog - by djmckjuba - 06.03.2016, 19:53
Re: Load Transaction from database to dialog - by [XST]O_x - 06.03.2016, 20:07
Re: Load Transaction from database to dialog - by djmckjuba - 06.03.2016, 20:35
Re: Load Transaction from database to dialog - by djmckjuba - 06.03.2016, 22:06

Forum Jump:


Users browsing this thread: 1 Guest(s)