Support the ongoing development of Laravel.io →

SumonMSelim

Joined 17 Jul 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

Getting this error: Call to undefined method Illuminate\Database\Query\Builder::attach()

I have defined the following two Models: Question.php: <?php class Question extends \Eloquent {...

0 Likes
2 Replies
Solved
replied 10 years ago

Getting this error: Call to undefined method Illuminate\Database\Query\Builder::attach()

Thanks. Then $answer will have only the following: $answer = [ 'answer' =>...

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.