Level 4
use implode function of php.
$seller->activite = implode(",",$request['activite']);
Hello, I have in my form a multiple select. When i click to my submit button I have this error: Array to string conversion I want to push values in my column activite in my database. Do you have idea how to fix that?
$seller->activite = array($request['activite']);
Thanks
I find the solution:
$seller->activite = implode(',', array_values($request['activite']));
Thanks all
Please or to participate in this conversation.