I have been trying to run the following query:
$user = new Users(); $user->save( [ "name" => $name, "created_at" => NOW(), ] );
When executed I get the following error: Call to undefined function NOW()
please can anyone advise.
Thanks
I have been trying to run the following query:
$user = new Users(); $user->save( [ "name" => $name, "created_at" => NOW(), ] );
When executed I get the following error: Call to undefined function NOW()
please can anyone advise.
Thanks