Jump to content

MySQL


DjMixCuma

Recommended Posts

Posted

HI

I have error in console:

Database result uncollected after 5 minutes. [Query: UPDATE `playeronline` SET `online` = '1', `skin` = '301' WHERE `nick` = 'Admin']

My query:

dbQuery(mysqlHandler, "UPDATE `playeronline` SET `online` = '1', `skin` = '"..getElementModel(source).."' WHERE `nick` = '"..getPlayerName(source).."'") 
  

WHAT IS WRONG? :((

Posted

Use

dbExec 

instead of dbQuery. Also you can use dbFree with dbQuery but in this situation you don't need doing something with dbQuery handle, so you can use dbExec here.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...