[HELP] MySQL Simple save problem
http://pastebin.com/MuXMnHmj
As you see plugin_end function is quoted because it gives me error : [MySQL] Invalid handle: 0 The variable: escapes just does not saves.. I haven't got any errors from the plugin. P.S. I put the code in pastebin because when I try to post the thread with the code - cloudflare of the forum does not allows me (maybe because of the sql symbols idk).. |
Re: [HELP] MySQL Simple save problem
Doesn't
PHP Code:
PHP Code:
PHP Code:
|
Re: [HELP] MySQL Simple save problem
Here is how I made the update line:
Code:
format(szTemp,charsmax(szTemp),"UPDATE `zmescape` SET `escapes` = '%i' WHERE `zmescape`.`name` = '%s';",escapes[id], szName) |
Re: [HELP] MySQL Simple save problem
Somebody?
|
Re: [HELP] MySQL Simple save problem
PHP Code:
>> PHP Code:
|
Re: [HELP] MySQL Simple save problem
Quote:
|
Re: [HELP] MySQL Simple save problem
Is it so damn difficult lol? No one has made an correct answer...
|
Re: [HELP] MySQL Simple save problem
This doesn't appear to have anything to do with his SQL query.
Are you setting g_SqlTuple to 0 somewhere else in your code? Are you getting this error in any other places when you try to use g_SqlTuple? |
Re: [HELP] MySQL Simple save problem
g_SqlTuple is not set to 0 nowhere. And yes I am getting it everytime I am using this tutorial:
click me but it seems to be not well written or I do somethin' bad.. The main problem is that it does not saves. |
Re: [HELP] MySQL Simple save problem
See if this works for you:
PHP Code:
|
| All times are GMT -4. The time now is 18:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.