GTX Posted July 6, 2012 Share Posted July 6, 2012 Hi, this problem is now already annoying... When map starts, it outputs this: Error executing the query: (1103) Incorrect table name '[DM] blabla -Vol- Balbla '. I can't find solution. Script: mapname = mysql_escape_string(connect_mysql, mapname) result = mysql_query(connect_mysql, "CREATE TABLE IF NOT EXISTS `"..mapname.."` (name VARCHAR(30), time TEXT, date TEXT, serial VARCHAR(100), tag VARCHAR(100))") It works on some maps. Thanks in advance. Link to comment
Castillo Posted July 6, 2012 Share Posted July 6, 2012 Does the map name has multi quote characters ( ' ) in it? Link to comment
GTX Posted July 6, 2012 Author Share Posted July 6, 2012 No, the map name is [DM] OeLIave ft. r3n3g4d0 - Exodus (with space at the end, is that problem?) Link to comment
Anderl Posted July 6, 2012 Share Posted July 6, 2012 I think tables can't have spaces. Use resource name instead. Link to comment
GTX Posted July 6, 2012 Author Share Posted July 6, 2012 The tables can have spaces, I tested. Link to comment
robhol Posted July 6, 2012 Share Posted July 6, 2012 The failing maps have invalid characters in them - something the error message tells you pretty clearly. What are you trying to do here, and why do you need a table for each map? Link to comment
GTX Posted July 6, 2012 Author Share Posted July 6, 2012 I need it. What would you do instead of creating table? Link to comment
Castillo Posted July 6, 2012 Share Posted July 6, 2012 I would create one table and then store every map as a row. Link to comment
robhol Posted July 6, 2012 Share Posted July 6, 2012 "I need it" is a beyond crappy answer. If you don't want to answer people's questions, how do you expect to get any help? Link to comment
GTX Posted July 7, 2012 Author Share Posted July 7, 2012 I would create one table and then store every map as a row. And then how am I supposed to store top times in a row? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now