Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date_modified and vilter_var #3

Open
Th4n4tos opened this issue Apr 2, 2021 · 1 comment
Open

date_modified and vilter_var #3

Th4n4tos opened this issue Apr 2, 2021 · 1 comment

Comments

@Th4n4tos
Copy link

Th4n4tos commented Apr 2, 2021

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

@nikiedev
Copy link
Owner

nikiedev commented Apr 2, 2021

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

Thank you for your message! I will check and fix soon. Please, wait 1-2 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants