17.04.2015, 08:21
Yes, you still use "VALUES" no matter what you are inserting.
So to insert values into the gMOTD and ShopClosed fields, you would do this:
So to insert values into the gMOTD and ShopClosed fields, you would do this:
PHP код:
new query[100];
format(query, sizeof(query), "INSERT INTO `misc` (`gMOTD`, `ShopClosed`) VALUES ('%s', '%d')", g_mysql_ReturnEscaped(GlobalMOTD, MainPipeline), ShopClosed);