title: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'EMAIL' cannot be null
body: <p>I am new to laravel please give the solution
  This is user controller code when i submit the form i am getting email is null but i am inserting email.</p>
  
  <p>there is no laravel issue i think its mysql issue   </p>
  
  <pre><code>&lt;?php
  namespace App\http\Controllers;
  
    use App\User;
    use Illuminate\Http\Request;
  
       class UserController extends Controller
  {
     public function postSignUp(Request $request)
     {
       $email = $request['email'];
       $first_name = $request['first_name'];
       $password = bcrypt($request['password']);
  
       $user = new User();
       $user-&gt;email = $email;
       $user-&gt;first_name = $first_name;
       $user-&gt;password = $password;
  
       $user-&gt; save();
  
       return redirect()-&gt; back();
     }
  
       public function postSignIn(Request $request)
     {
     }
  
     }
  </code></pre>
  
  <p>This is migrate table.</p>
  
  <pre><code>&lt;?php
  
   use Illuminate\Database\Schema\Blueprint;
    use Illuminate\Database\Migrations\Migration;
  
    class CreateUsersTable extends Migration
     {
  /**
   * Run the migrations.
   *
   * @return void
   */
  public function up()
  {
      Schema::create('users', function (Blueprint $table) {
          $table-&gt;increments('id');
          $table-&gt;timestamps();
          $table-&gt;string('email');
          $table-&gt;string('first_name');
          $table-&gt;string('password');
          $table-&gt;rememberToken();
      });
  }
  
  /**
   * Reverse the migrations.
   *
   * @return void
   */
  public function down()
  {
      Schema::drop('users');
      }
   }
  </code></pre>
  
  <p>This is my html file</p>
  
  <pre><code>&lt;div class="row"&gt;
    &lt;div class="col-md-6"&gt;
    &lt;h3&gt;Sign Up&lt;/h3&gt;
    &lt;form action="{{ route('signup') }}" method="post"&gt;
    &lt;div class="form-group"&gt;
    &lt;lable for="email"&gt;Your Email&lt;/lable&gt;
    &lt;input class="form-control" type="email" name "email" id="email"&gt;
    &lt;/div&gt;
    &lt;div class="form-group"&gt;
    &lt;lable for="first_name"&gt;Your first name&lt;/lable&gt;
    &lt;input class="form-control" type="text" name="first_name" id="first_name"&gt;
    &lt;/div&gt;&lt;div class="form-group"&gt;
    &lt;lable for="password"&gt;Your Password&lt;/lable&gt;
    &lt;input class="form-control" type="password" name "password" id="password"&gt;
    &lt;/div&gt;
    &lt;button type="submit" class="btn btn-primary"&gt;Submit&lt;/button&gt;
    &lt;input type="hidden" name="_token" value="{{ Session::token() }}"&gt;
    &lt;/form&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>AND THIS I S ROUTE</p>
  
  <pre><code>Route::get('/', function () {
  return view('welcome');
  });
  
   Route::post('/signup', [
         'uses' =&gt; 'UserController@postSignUp',
         'as' =&gt; 'signup'
  ]);
  </code></pre>