#include "includes.h"
MYSQL *con;
con=mysql_real_connect(con, server,user, password, database, 0, NULL, 0);
//mysql check:
int act;
int reb;
reb=mysql_query(con,"SELECT * FROM cq_rebirth");
act=mysql_query(con,"SELECT * FROM cq_action");
if(act !=0 || reb !=0){
cout << mysql_error(con);
return 1;
}
Error: Commands out of sync; you can't run this command now
i wanna select like more than 10 tables lol so how can i do it :)