Skip to content
Advertisement

Values Not Updated in Database

I have a product attribute table, in that, I have 2 text fields. So when I enter the values in all text field box. And when I press the update button. the first input row is updated successfully but the others not. Here is the picture of the blade file:

enter image description here

Here is my code Blade.php

JavaScript

ProductsController.php

JavaScript

Advertisement

Answer

Upgrade your ProductsController.php as following, it might work.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement