Jump to content

Errors when dealing with any SQL functions


Recommended Posts

Hello all,

I been having problems with SQL databases and all the things related to SQL

since about a month ago (after i formated 'reinstalled' my Windows)

Even the scripts that was working fine, now it keeps showing me errors on every SQL line

i can't 'insert, upgrade, select, remove, or any other SQL related function

(( I'm talking about my LAN server, but everything is working just fine on my hosted server)

can anyone help me with this ?

Edited by Guest
Link to comment
  • Moderators

Yeah I think too but I didn't realised immediately :lol:

maybe try to put ' ' like this:

executeSQLQuery("SELECT 'Attempts'  FROM ... ") 

And can you put a screen of your table with the column Attempts plz ?

Link to comment

here is one of the tables

    executeSQLCreateTable ( "GgInfo", "serial STRING, topic INT, real_name INT, country INT, age INT, profile_picture INT" )  

and this is the insert function

function on_Register ( player ) 
local serial = getPlayerSerial(player) 
 executeSQLInsert ( "GgInfo", "'".. serial .."','][topic ~','name','country','age','SpongeBob'" ) 
  outputChatBox("works !!!") 
end  

the function used to have about 10 strings passed from the client side to the server, and it used to work

now it doesn't (after the pc format) , i even deleted all the other unneeded strings, and supplied it with some random things

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