I am new to SQL.
Hi, I have the following c++ code to display table.
int ip = mysql_query(conn,"SELECT * FROM IP_TABLE");
res = mysql_use_result(conn);
if (ip==0) while ((row = mysql_fetch_row(res)) != NULL) printf("%s \n", row[0]);
Using the same technique, how would I insert into IP_TABLE???
Thanks in advance.
Hi, I have the following c++ code to display table.
int ip = mysql_query(conn,"SELECT * FROM IP_TABLE");
res = mysql_use_result(conn);
if (ip==0) while ((row = mysql_fetch_row(res)) != NULL) printf("%s \n", row[0]);
Using the same technique, how would I insert into IP_TABLE???
Thanks in advance.