title: How to retrive single field array data from database and separate them- using laravel, PHP
body: <p>I Trying to upload multiple image for my product, and store the names of that images in database as an array.
  My code works like this-</p>
  <pre><code>$images = $request-&gt;file('images');      
  
  if (isset($images)) {
    foreach($images as $image){
      $imagename = $slug.'-'.$currentDate.'-'.uniqid().'.'.$image-&gt;getClientOriginalExtension();
      if (!file_exists('uploads/product/images')) {
         mkdir('uploads/product/images', 0777, true);
      }
        $image-&gt;move('uploads/product/images', $imagename);
        $data[] = $imagename;
      }
              
    }else{
       $data[] = 'default.png';
    }
  
    $product = new Product();
    $product-&gt;images = json_encode($data);
  
  </code></pre>
  <p>And data stored inside the <code>images</code> field like-</p>
  <pre><code>[&quot;jeans-2020-08-13-5f352f18b30a4.jpg&quot;,&quot;jeans-2020-08-13-5f352f18b36a0.jpg&quot;,&quot;jeans-2020-08-13-5f352f18b3a2c.jpg&quot;]
  </code></pre>
  <p>**And the problem is how can i separate this image name to show images in Laravel Blade? ** <br>
  <strong>OR</strong> Suggest me, If there is another way to upload multiple image or multiple value in laravel-6</p>