_Dynosawr_ Posted June 7, 2012 Posted June 7, 2012 (edited) Hey, I wrote this script and the query_sql command isn't working correctly. I hope someone knows what's wrong with it. http://pastebin.com/raw.php?i=ZSF9Dfrw Edited June 7, 2012 by Joey Quote
en_dev Posted June 7, 2012 Posted June 7, 2012 try this, query_sql "UPDATE `char` SET `name` = '"+.@newname$+"' WHERE `char_id` = '"+getcharid(0)+"'"; Quote
_Dynosawr_ Posted June 7, 2012 Author Posted June 7, 2012 OMG I LOVE YOU! THANKS <33333333 PS: That means it worked. Quote
GreenBox Posted June 7, 2012 Posted June 7, 2012 Just to explain, you can use backticks(`) only to escape object names(tables, columns, etc). You must use quote(') for strings 1 Quote
Question
_Dynosawr_
Hey, I wrote this script and the query_sql command isn't working correctly. I hope someone knows what's wrong with it.
http://pastebin.com/raw.php?i=ZSF9Dfrw

Edited by Joey5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.