Exort
Умник
PHP:
stock PlayerTracking(target[], regip[], action[], oldip[], newip[])
{
new query[256];
format(query, sizeof(query), "INSERT INTO `pTracking` (`target`, `regip`, `Action`, `oldIP`, `newIP`, `Date`) VALUES ( '%s', '%s', '%s', '%s', '%s', NOW() )", target, regip, action, oldip, newip);
mysql_function_query(1, query, true, "", "");
}
PHP:
new totalitarism[16]; GetPlayerIp(playerid, totalitarism, sizeof(totalitarism));
GetPlayerName(playerid, PlayerInfo[playerid][pName], 24);
PlayerTracking(PlayerInfo[playerid][pName],totalitarism,"Зарегестрировался",totalitarism,totalitarism);
PHP:
[19:32:12] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `Name` = 'sunderS'' at line 1
