Hi there,
I am using cake 3 transaction method to save data.
$conn->transactional(function ($conn) {
$stmt = $conn->newQuery()
->insert(['email_id','name','address'])
->into('users')
->values($email_id,$name,$address)
->execute();
I have declared the variables but while I am running this method .
It is saying undefined variable . This is causing error.
Kindly help me on this