[CODE] tab, succ, error = mysql.query(db, "Insert Into fretta(STEAMID,FirstIP,LastIP,FirstName,LastName,FirstSeen,LastSeen,AdminLevel) VALUES('"..ply:SteamID().."','"..ply:IPAddress().."','"..ply:IPAddress().."','"..ply:Name().."','"..ply:Name().."','"..tostring(os.date("%Y-%m-%d %H:%M:%S")).."','"..tostring(os.date("%Y-%m-%d %H:%M:%S")).."','0')");
[/CODE]
") expected near ..ply:SteamID().."
Any ideas?
Edit: Figured it out, had to escape the ' with \
Sorry, you need to Log In to post a reply to this thread.