date_modified and vilter_var
Th4n4tos opened this issue · 1 comments
What am I doing wrong to set the date_modified and date_created?
my try:
$db->update('users', ['last_name' => 'myLastName', 'first_name' => 'myFirstName'], ['id' => 7], true);
but i get this: [date_modified] => 0000-00-00 00:00:00
Is it possible to include a function in your class that filters all transferred variables? vilter_var
What am I doing wrong to set the date_modified and date_created?
my try:
$db->update('users', ['last_name' => 'myLastName', 'first_name' => 'myFirstName'], ['id' => 7], true);
but i get this: [date_modified] => 0000-00-00 00:00:00Is it possible to include a function in your class that filters all transferred variables? vilter_var
Thank you for your message! I will check and fix soon. Please, wait 1-2 days.