Support the ongoing development of Laravel.io →

Itachi Uchiha

Joined 28 Jun 2022

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0

Why save method is working but update operation is not?

Need Help:The following is the controller function where I am having trouble. The commented-out code...

0 Likes
8 Replies
Solved
replied 2 years ago

Why save method is working but update operation is not?

Ok. I think I understand now. Thanks a lot for clearing things out.

0 Likes
replied 2 years ago

Why save method is working but update operation is not?

@faisal But it works when I change something and click the update button.

0 Likes
replied 2 years ago

Why save method is working but update operation is not?

@faisal So, when I don't change anything and click the update button, the update operation returns 0...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.