Jump to content

mysql error


wazoka93

Recommended Posts

[2016-12-21 17:43:39] WARNING: exg_carshop\sourceS.lua:65: Bad argument @ 'dbQuery' [Expected db-connection at argument 1]
[2016-12-21 17:43:39] WARNING: exg_carshop\sourceS.lua:68: Bad argument @ 'dbPoll' [Expected db-query at argument 1, got boolean]
[2016-12-21 17:45:03] WARNING: mta_speedo\ex_Server.lua:4: Bad argument @ 'dbExec' [Expected db-connection at argument 1]
[2016-12-21 17:45:24] WARNING: mta_vehicle\sourceS.lua:267: Bad argument @ 'dbQuery' [Expected db-connection at argument 1]

 

whats the problem? please help

Link to comment
4 hours ago, wazoka93 said:

[2016-12-21 17:43:39] WARNING: exg_carshop\sourceS.lua:65: Bad argument @ 'dbQuery' [Expected db-connection at argument 1]
[2016-12-21 17:43:39] WARNING: exg_carshop\sourceS.lua:68: Bad argument @ 'dbPoll' [Expected db-query at argument 1, got boolean]
[2016-12-21 17:45:03] WARNING: mta_speedo\ex_Server.lua:4: Bad argument @ 'dbExec' [Expected db-connection at argument 1]
[2016-12-21 17:45:24] WARNING: mta_vehicle\sourceS.lua:267: Bad argument @ 'dbQuery' [Expected db-connection at argument 1]

 

whats the problem? please help

in dbQuery, you have to put 2 argument, first the connection handler, second is mysql query. Example:

conn = dbConnect("blabla")
query = dbQuery(conn, "Your MySQL Query.")

 

  • Like 1
Link to comment

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...