13.01.2011, 17:26
Код:
format(Query, sizeof(Query), "INSERT INTO cars (Owner, Plate) VALUES (%s, %s);","City", "LS"); mysql_query(Query);
format(Query, sizeof(Query), "INSERT INTO cars (Owner, Plate) VALUES (%s, %s);","City", "LS"); mysql_query(Query);
format(Query, sizeof(Query), "INSERT INTO `cars` (`Owner`, `Plate`) VALUES ('%s', '%s')","City", "LS");
mysql_query(Query);
mysql_query("INSERT INTO `cars` (`Owner`, `Plate`) VALUES ('City', 'LS')");