Support the ongoing development of Laravel.io →

alibinsaleh

Joined 2 Oct 2015

Statistics

Threads 3
Replies 6
Solutions 1
Articles 0

Is it possible to pass a second argument to edit and update methods of a controller?

I need to pass a second argument to edit and update methods of a controller like: public functi...

0 Likes
2 Replies

Call to a member function save() on string

I want to persist changes to Attendance model table, but I get this error: FatalErrorException in At...

0 Likes
8 Replies
Solved

How Can I "Request" the data of a collection of rows?

I want to build a web based system to keep track of students attendance. I have these three tables r...

0 Likes
0 Replies
replied 8 years ago

Is it possible to pass a second argument to edit and update methods of a controller?

Thanks again @thomastkim, you are wonderful and yet helpful.

0 Likes
replied 8 years ago

Call to a member function save() on string

this is the solution: public function update(Request $request, $id) { $attendances = Attendance:...

0 Likes
Solved
replied 8 years ago

Call to a member function save() on string

Hooray!!!, I solved my problem, thanks for @thomastkim and @awsp for their hints.

0 Likes
replied 8 years ago

Call to a member function save() on string

awsp said: Like @thomastkim said, you are replacing a string to $attendance The return value of Re...

0 Likes
replied 8 years ago

Call to a member function save() on string

Thanks a lot @thomastkim for your guidance, and I just want you to guide me to series on php OOP ded...

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.