title: Is there a way to push multiple inputs into the same Db column in laravel?
body: <p>I have tried searching for something similar to the question above but no luck.</p>
  
  <p>I have a one to many relationship between a series and videos table. Inside the videos table I have title and url to the video.</p>
  
  <p>The issue i am having is that, i am using jquery to add multiple rows containing title and url. </p>
  
  <p>I tried pushing the title and url to the videos table on the database. There's no problem when pushing one input but when i have many title and url, the code breaks.</p>
  
  <p>I have also tried using createMany but it can only add an array of one input. I can't get it to add both title and url.</p>
  
  <pre><code>$data = \request()-&gt;validate([
              'title' =&gt; 'required',
              'vimeo_id' =&gt; 'required',
              'episode_number' =&gt; 'required'
          ]);
  
  
          $pricourse-&gt;videos()-&gt;createMany($data);
  </code></pre>
  
  <p>After i dd the data in the browser i got the following</p>
  
  <pre><code>array:4 [▼
    "_token" =&gt; "82k5RnVcdzSkPoOnDYeYipuRqAcJqhXzcWAx3RwW"
    "title" =&gt; array:2 [▼
      0 =&gt; "Angles of Elevation"
      1 =&gt; "English 2"
    ]
    "vimeo_id" =&gt; array:2 [▼
      0 =&gt; "12343"
      1 =&gt; "12343"
    ]
    "episode_number" =&gt; array:2 [▼
      0 =&gt; "1"
      1 =&gt; "2"
    ]
  ]
  </code></pre>
  
  <p>Any  help will be appreciated..</p>
  
  <p>Thanks</p>