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
#2

Please, someone
Reply
#3

Comon....
Reply
#4

Mysql log ?
Reply
#5

Quote:
Originally Posted by DaTa[X]
Посмотреть сообщение
Mysql log ?
Код:
[01:54:17] [INFO] Now logging: errors
[01:54:17] [ERROR] CMySQLHandler::NumRows() - You cannot call this function now (no result).
Reply
#6

Nobody doens't know what can be wrong?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)