mercredi 28 mars 2018

Can not insert a new text input value into db from laravel register form

In a laravel app I had run the command

php artisan make:auth

and a laravel register form created successfully.

In mysql users' table I had added a proffession field of varchar datatype column and 190 length.

And I updated Auth/register.blade.php page to the following

register.blade.php

 <div class="form-group">
 <label for="proffession" class="col-md-4 control-label"> proffession  </label>
 <div class="col-md-6">
  <input id="proffession" type="text" class="form-control" name="porffession" 
  value="" required>
  </div>
  </div>

but when I click the submit button the proffession column value is always null although a new user added.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2uwJ9O2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire