Issue with mysql query that gets cut out
#5

Quote:
Originally Posted by Mencent
Посмотреть сообщение
You have more parameters in format as %s, %i, %d or %f.
PHP код:
format(query,sizeof(query),"UPDATE accounts SET FactionRank='New Leader',IsLeader='1' WHERE Username='%s'",Player[target][Faction],Player[target][FactionName],Name(target)); 
You have one times %s, but you have three parameters.
I hope you know what I mean.
omfg im so retarded

thanks
Reply


Messages In This Thread
Issue with mysql query that gets cut out - by justjamie - 08.11.2016, 15:47
Re: Issue with mysql query that gets cut out - by oMa37 - 08.11.2016, 15:49
Re: Issue with mysql query that gets cut out - by justjamie - 08.11.2016, 15:55
Re: Issue with mysql query that gets cut out - by Mencent - 08.11.2016, 16:16
Re: Issue with mysql query that gets cut out - by justjamie - 08.11.2016, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)