Delete Multiple Records Using Checkbox in Laravel

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 16

  • @kaiserdianalan7059
    @kaiserdianalan7059 9 หลายเดือนก่อน

    Very useful i hope you create another for laravel 11 hehe

    • @BluebirdTech
      @BluebirdTech  9 หลายเดือนก่อน

      Thanks, I will do that.

  • @ИванДемчишин-т7ь
    @ИванДемчишин-т7ь ปีที่แล้ว +1

    Really useful stuff. Thank you

  • @telephonicainc7900
    @telephonicainc7900 ปีที่แล้ว +1

    Thank you for your great video , it also would be nice if you add the code in each step (in text description )

    • @BluebirdTech
      @BluebirdTech  ปีที่แล้ว +1

      Thanks for the suggestion. I'll add chapter descriptions to my videos to make them more accessible.

    • @telephonicainc7900
      @telephonicainc7900 ปีที่แล้ว +1

      @@BluebirdTech thank you , I used your code to manage a user table like your employee table . when I click on delete selected users , the page shows me the table with selected users checked .In route command in web.php , it cannot recognize the path /selected-users ( an error 500 in inspect page) . however when I refresh the page , it shows me the updated list ( no more selected and deleted users in list) and error message goes away. I appreciate if you can advise me to resolve the issue .

    • @BluebirdTech
      @BluebirdTech  ปีที่แล้ว

      @@telephonicainc7900
      It seems like there might be an issue with the route in web.php not being recognized. Here are some troubleshooting steps you can follow to resolve the issue:
      - Check the syntax of the route in web.php to make sure it matches the controller method you are trying to call. Make sure the route name and controller method name are spelled correctly and that they are using the correct HTTP method (in this case, POST).
      - Double-check the URL in the AJAX request in your JavaScript code to make sure it matches the route name in web.php.
      - Make sure the route is defined before it is used in the JavaScript code.
      - Try clearing the Laravel cache using the “php artisan cache:clear” command.

  • @harryawanda9310
    @harryawanda9310 ปีที่แล้ว

    I got an error while using datatable. The data actually removed from db but the Datatable is still counting the deleted data. And when I checked the "select all" checkbox, the deleted data is displayed in my datatable. I need to refresh page manually (F5) to refresh datatable. May you can help me to resolve this. Thank you

  • @mariomartinavilayarleque7509
    @mariomartinavilayarleque7509 3 หลายเดือนก่อน

    and paginate?

  • @Khudayberdiyev-gs9mn
    @Khudayberdiyev-gs9mn ปีที่แล้ว

    good

  • @zafererkan7070
    @zafererkan7070 ปีที่แล้ว

    thank you for the video. but not delete from db.

  • @dhaivatjagtap6013
    @dhaivatjagtap6013 8 หลายเดือนก่อน

    plz share project as a zip file