[Ajuda] STR_TO_DATE
#1

Alguйm me ajuda nessa funзгo do mysql ?

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]); 
erro no log
PHP код:
STR_TO_DATE('Leon_Souz''%d/%m/%Y'), now())": Incorrect datetime value: 'Leon_Souz' for function str_to_date 
Reply


Messages In This Thread
STR_TO_DATE - by Mitic0 - 11.08.2018, 14:33
Re: STR_TO_DATE - by AndreProgrammer - 11.08.2018, 14:36
Re: STR_TO_DATE - by Mitic0 - 11.08.2018, 14:41
Re: STR_TO_DATE - by AndreProgrammer - 11.08.2018, 14:45
Re: STR_TO_DATE - by Mitic0 - 11.08.2018, 14:47
Re: STR_TO_DATE - by AndreProgrammer - 11.08.2018, 14:52
Re: STR_TO_DATE - by Mitic0 - 11.08.2018, 14:55
Re: STR_TO_DATE - by AndreProgrammer - 11.08.2018, 15:04

Forum Jump:


Users browsing this thread: 3 Guest(s)