int f = 23;
mysql_query(connect,"INSERT INTO t(d) VALUES(%d)",f);
lets say f for the above case is an unknown integer obtained from another function, How do i insert the value f into mysql. The above statement gives me an error of:
error C2660: 'mysql_query' : function does not take 3 arguments
mysql_query(connect,"INSERT INTO t(d) VALUES(%d)",f);
lets say f for the above case is an unknown integer obtained from another function, How do i insert the value f into mysql. The above statement gives me an error of:
error C2660: 'mysql_query' : function does not take 3 arguments