I am trying to post array data to the database but I keep getting this error Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array, string given, called in /home/**/****/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php on line 886
$nor = array(
'no_of_rounds' => $request->no_of_rounds,
);
$data= New Item();
$data->no_of_rounds = $nor;
$data->save();
Blade
<select class="selectpicker" name="no_of_rounds[]" multiple data-live-search="true" width="100%" id="no_of_rounds">
<option value="90">Round 1</option>
<option value="100">Round 2</option>
<option value="110">Round 3</option>
<option value="120">Round 4</option>
<option value="130">Round 5</option>
</select>

JSONobject and save to aJSONcolumn withjson_encode($nor)$data->no_of_rounds = $nor;with$data->no_of_rounds = json_encode($nor);. your error is mostly due to trying to push the array into a a column accepting a string, you may want to change your column type in your migration to$table->json('data');to get rid of itserialize()to convert arrays to strings. These strings can easily be stored in MySQL database. Usingunserialize()something like :serialize($nor)