Arsilex Posted November 9, 2012 Share Posted November 9, 2012 connect = dbConnect( "mysql", "dbname=Ilusion;host=instance31261.db.xeround.com;port=20197", "pekio123", "pekio19999", "share=1" ) if connect then outputChatBox ( "Connected", source ) base = executeSQLQuery("CREATE TABLE IF NOT EXISTS players (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT)") executeSQLQuery("CREATE TABLE IF NOT EXISTS `players` (`clothes_head_texture` TEXT, `clothes_head_model` TEXT, `name` TEXT)") if base and base2 then outputChatBox ( "Connected2", source ) end else outputChatBox ( "Error", source ) end por que este script no me funciona me da Conneced y Connected2 pero no se crea la tabla Link to comment
Renkon Posted November 10, 2012 Share Posted November 10, 2012 usa dbExec, más moderno dbExec(db,"CREATE TABLE IF NOT EXISTS players (columna1 VARCHAR(30), columna2 INT, columna3 CHAR(1))") Link to comment
Recommended Posts