how to update records from view and method present in a model



84.5k

Updating records in a view is not a good practice, however you can do it was in any other place of your application. http://docs.phalconphp.com/en/latest/reference/models.html#creating-updating-records