Jump to content

[HELP] Mysql insert into error


Recommended Posts

Hello, I am trying to make a report system that saved the reports in mysql, but I keep getting syntax error. I don't really know what the syntax for dbQuery is...

local qh = dbQuery(mysql, "INSERT INTO reports (Date, Type, From, Content) values ('"..getFormatDate().."', '"..typ.."', '"..getPlayerName(client).."', '"..text.."');") 
    local result = dbPoll(qh, -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...