• Mysql insert returning 'insufficient parameter"
    3 replies, posted
here is the server-side code: [url]http://pastebin.com/YRNtuF0S[/url] client-side: [url]http://pastebin.com/kD5RJkYK[/url] Video: [url]http://youtu.be/L9WJjH0a8Ec[/url] I have had many people help me with this, but they could not figure it out so I am bringing it to you Facepunch. When I call the function SetName2, it says insufficient parameters in the console and does not follow through with the mysql insert. Any ideas? [highlight](User was banned for this post ("Wrong section" - mahalis))[/highlight]
You REALLY want to SQLStr all those variables going into the query, it also helps a few issues you can have. Does it just say "insufficient parameters"? There must be something else?
What mysql plugin are you using?
I just figured it out, rookie mistake, i didnt put the mysql connection at the beginning of the query lol. all i have to do was add con like this mysql.query(con, ...
Sorry, you need to Log In to post a reply to this thread.