Having a little trouble with mysql
#1

Hello I've got abit of a problemi tried making a command which gets tied to my database but it keeps on giving me a error btw im using BUDS
error 035: argument type mismatch (argument 1)
Код:
Result = db_query(Query, Database);
this is the line before the line above
Код:
	format(Query, sizeof(Query), "SELECT NULL FROM users WHERE username = '%s' LIMIT 0, 1", DB_Escape(new_name));
Reply
#2

https://sampwiki.blast.hk/wiki/Db_query

Swap your arguments
Reply
#3

still gives me the same error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)