After trying to save a record on php tinker im getting a error
Illuminate\Database\QueryException with message 'PHP error: Array to string conversion ...vendor\laravel\framework\src\Illuminate\Database\MySqlConnection.php on line 80
Is complaning because of my array on the "options" property, what im doing wrong?
My record:
=> App\Question {#690
survey_id: 1,
label: "what services need",
input_type: "checkbox",
required: true,
options: [
"Tlevision",
"Internet ",
"Phone",
"Mobile",
],
order: 1,
updated_at: "2017-02-01 17:34:28",
created_at: "2017-02-01 17:34:28",
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jwJsSP
via IFTTT
Aucun commentaire:
Enregistrer un commentaire