11.08.2018, 14:33
Alguйm me ajuda nessa funзгo do mysql ?
erro no log
PHP код:
format(string_m,sizeof(string_m),"INSERT INTO `users`(`Name`, `Password`, `Salt`, `Email`, `Online`, `IP`, `GPCI`, `birthdate`, `created_at`) VALUES ('%e', '%e', '%e', '%e', 1, '%e', '%e', STR_TO_DATE('%s', '%%d/%%m/%%Y'), now())", pEscName[playerid], PlayerInfo[playerid][Password],PlayerInfo[playerid][Salt],gPlayerEmail[playerid], Escape_Name(pIP(playerid)), Escape_String(pGPCI(playerid)), gPlayerAge[playerid]);
PHP код:
STR_TO_DATE('Leon_Souz', '%d/%m/%Y'), now())": Incorrect datetime value: 'Leon_Souz' for function str_to_date