Mysql problem
#1

Hello everyone, maybe someone can help me with mysql problem. I need to convert mysql saving from mysql plugin R5 to R8(20)

R5 script
Код:
	new Query[200];
	format(Query, 200, "UPDATE houses SET Owner = '%s', Name = '%s', Password = '%s' WHERE ID = '%d'", HouseO, HouseN, HouseP, HouseID);
	mysql_query(Query);
I tryed like this, but its doesn't work

Код:
	new Querynnb[256];
    format(Querynnb, 256, "UPDATE `houses` SET Owner = '%s', `Name` = '%s', `Password` = '%s' WHERE `ID` = '%d'", HouseO, HouseN, HouseP, HouseID);
	mysql_function_query(1,Querynnb,false,"","");
Thanks for your help +rep
Reply


Messages In This Thread
Mysql problem - by Zaec - 14.12.2014, 21:29
Re: Mysql problem - by Zaec - 14.12.2014, 21:42
Re: Mysql problem - by Zaec - 14.12.2014, 22:04
Re: Mysql problem - by DaTa[X] - 14.12.2014, 22:33
Re: Mysql problem - by Zaec - 14.12.2014, 23:11
Re: Mysql problem - by Zaec - 15.12.2014, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)