Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

mysql select (no replies)

$
0
0
#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

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>