Mysqloo Scripting Problems

-snip- releasing this as an addon

Kind of hard to explain what you did wrong but:
change this:
[lua]QueryDB(queryB, function() end)
end
function queryb:onSuccess()
ply:SendLua([[chat.AddText(Color(255,165,0), “Your server group has been synced with your website group.”)]])
log(“Synced “…ply…”'s SMF group.”)
end[/lua]
to this:
[lua]
QueryDB(queryB, function() ply:SendLua([[chat.AddText(Color(255,165,0), “Your server group has been synced with your website group.”)]])
log(“Synced “…ply…”'s SMF group.”)
end)[/lua]

Basically you’re trying to declare a function for a string, but the second argument of the QueryDB function should be where you’re putting your function.

Also you should really try formatting your code, it makes it a lot easier to see what is going wrong.

Actually, I talked to someone and they suggested that remove some quotes from the queries and that fixed it. Thanks, Willox.