.:HyPeX:. Posted January 9, 2015 Share Posted January 9, 2015 Well, it says error on dbpoll: Error: Table '**dbname**.all_tables' doesnt exist! Database = dbConnect("mysql","dbname=**dbname**;host=IP", "user","pass") local query = dbQuery(Database, "SELECT `table_name` FROM `all_tables`") local result = dbPoll(query,-1) if result then for i,v in ipairs(result) do outputChatBox("Table Found! Name: "..v) end Link to comment
Mizudori Posted January 9, 2015 Share Posted January 9, 2015 Well, it says error on dbpoll: Error: Table '**dbname**.all_tables' doesnt exist! Database = dbConnect("mysql","dbname=**dbname**;host=IP", "user","pass") local query = dbQuery(Database, "SELECT `table_name` FROM `all_tables`") local result = dbPoll(query,-1) if result then for i,v in ipairs(result) do outputChatBox("Table Found! Name: "..v) end query = dbQuery(Database, "SELECT table_name FROM all_tables") 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