$this->info('Updating ' . $slug); $entryPack = Entry::whereSlug($slug, 'Packs'); foreach ($pack as $key => $val) {
$entryPack->set($key, $val);
} $entryPack->save(); $this->info($slug . ' updated.');

from this code everthing is ok, But when $val is array it's not updat on my entry data. Can anyone help me? Thanks

Answered by Thammarat charoenchai! Go to answer.