Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 1 year ago.
0

here i think it should be $field ?

['value' => $field, 'businessfunction_id' => $businessfunction->id]
0

astroanu said:

here i think it should be $field ?

['value' => $field, 'businessfunction_id' => $businessfunction->id]

Even when I use 'field' it doesn't work. It gives me the same error.

0

To diagnose this do this

['value' => json_encode($field), 'businessfunction_id' => $businessfunction->id]

and see what is got inserted in db.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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.