mysql field deleting!
#1

How can i delete a field in mysql database?

Код:
format(string, 128, "DELETE `%s`, `%s`, `%d` FROM inventory WHERE Name = '%s'", GetUserName(playerid), itemname, amount, GetUserName(playerid));
mysql_query(string);
I use that , but it doesn't delete!
Reply
#2

http://dev.mysql.com/doc/refman/5.0/en/delete.html

when you can't find out why things just don't happen use a line like this:
printf("[debug] %s",string);
Reply
#3

Thank you, i read abit about the deleting and got it and it works now !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)