title: Laravel not inserting all data to DB
body: <p>I am coding a comment section; i am getting user data from the form below:</p>
  
  <pre><code>&lt;div class="comment"&gt;
      &lt;h2&gt;Leave a comment&lt;/h2&gt;
      &lt;form method="post" action="/blog/{{$post-&gt;id}}/comments"&gt;
      {{csrf_field()}}
  
       &lt;input type="text" name= "name" class="textbox" value="Name" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Name';}"&gt;
       &lt;input type="text" name="email" class="textbox" value="Email" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Email';}"&gt;
       &lt;textarea value="Message:" name="body" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Message';}"&gt;Message&lt;/textarea&gt;
  
       &lt;div class="smt1"&gt;
          &lt;input type="submit" value="add a comment"&gt;
       &lt;/div&gt;
     &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am getting those data on a route via CommentsController store method like below: </p>
  
  <pre><code>Route::post('/blog/{post}/comments','CommentsController@store');
  </code></pre>
  
  <p>Then storing them on db via controller's method: `</p>
  
  <pre><code>    public function store(Post $post){
  
  
      Comment::create([
         'body'    =&gt; request('body'),
         'email' =&gt;request('email'),
         'name' =&gt;request('name'),
         'post_id' =&gt; $post-&gt;id
      ]);
  
  
      return back();
  }
  </code></pre>
  
  <p>the issue is that when I go on the database the body field gets inserted totally fine, but post_id, name, email they dont get inserted on databse, they are empty. </p>
  
  <p>I have checked if I am getting the data from the form I have done <code>die;</code> <code>dump</code> <code>dd();</code> on <code>name</code>, <code>email</code> and <code>$post-&gt;id</code> I get the data totally fine from the form, but I can not get them inserted on the database?</p>