Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string query;
- const char* q;
- query = "INSERT INTO `lib_author` (`name`, `surname`) VALUES ('";
- query += name;
- query += "', '";
- query += surname;
- query += "');";
- q = query.c_str();
- bool t = mysql_query(mysql.connect, q);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement