here i think it should be $field ?
['value' => $field, 'businessfunction_id' => $businessfunction->id]
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.
To diagnose this do this
['value' => json_encode($field), 'businessfunction_id' => $businessfunction->id]
and see what is got inserted in db.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community