i have a form from where i update the user's data, there i have a checkbox with a value as true, so when it is checked it will send a true value, if it is not checked, then it will send a false value to update if the user is active or inactive. But when i check the table in database, the status field keep true as value, it is not updating the value. So i need a little help to know how i can update the status field from the form with a checkbox from true to false and from false to true. Considering my system is being develope with laravel 5.1 LTS.
Please a i need help or suggestions, thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire