Mysql format
#1

I'm having one of those blonde moments, where I've done something stupid but I can't see.

This code doesn't format:
pawn Код:
mysql_format(MySQLCon, mysqlquery, sizeof(mysqlquery), "UPDATE `accounts` SET `name` = '%e', `accent` = '%e', `password` = '%e'", PlayerInformation[playerid][pName], PlayerInformation[playerid][pAccent], PlayerInformation[playerid][pPassword]);
If I printf after that, it prints what mysqlquery was last formatted to.

Any ideas?
Reply


Messages In This Thread
Mysql format - by Jack_Leslie - 06.03.2017, 07:04
Re: Mysql format - by JessThompson - 06.03.2017, 07:10
Re: Mysql format - by Jack_Leslie - 06.03.2017, 07:11
Re: Mysql format - by JessThompson - 06.03.2017, 07:12
Re: Mysql format - by Jack_Leslie - 06.03.2017, 07:15
Re: Mysql format - by JessThompson - 06.03.2017, 07:17
Re: Mysql format - by Jack_Leslie - 06.03.2017, 10:02
Re: Mysql format - by Unte99 - 06.03.2017, 10:11
Re: Mysql format - by Jack_Leslie - 06.03.2017, 10:17
Re: Mysql format - by Gammix - 06.03.2017, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)