[Ajuda] STR_TO_DATE
#4

Ah jб me lembrei. Vocк acho que deve usar da seguinte forma

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('11/08/2018', '%d/%m/%Y'), now())"pEscName[playerid], PlayerInfo[playerid][Password],PlayerInfo[playerid][Salt],gPlayerEmail[playerid], Escape_Name(pIP(playerid)), Escape_String(pGPCI(playerid)), gPlayerAge[playerid]); 
Verifique aqui como eu estou certo. https://www.w3schools.com/sql/func_m...tr_to_date.asp
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: 1 Guest(s)