Is this wrong?
#1

PHP код:
new Query[128]; mysql_format(mysql, Query, sizeof Query,"DELETE * FROM `players` WHERE `Name` = '%s'", pName(playerid));
mysql_tquery(mysql, Query, "", ""); 
It's supposed to delete your own account, but i can't make it work. Any idea why?
Reply
#2

Yes it is. The syntax is "DELETE FROM table_name ..."
Reply
#3

You are right :O It works now!
I hadn't though of it, and it makes sense

Thankss!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)