09.05.2017, 20:49
PHP код:
specifiers[] = "%%D of %%M, %%Y @ %%k:%%i";
PHP код:
mysql_format(sqlConnection, query, sizeof(query), "SELECT *, DATE_FORMAT(lastlogin, '%e') AS date_login FROM players WHERE username = '%e' AND password = '%e'", specifiers, GetPlayerNameEx(playerid), password);
PHP код:
SELECT *, DATE_FORMAT(lastlogin, '%D of %M, %Y @ %k:%i') AS date_login FROM players WHERE username = etc...