Русское сообщество разработки на PHP-фреймворке Laravel.
Ты не вошёл. Вход тут.
Страницы 1
To pass the selected product IDs from your Blade checkboxes (`product_checked[]`) to your Laravel controller, enclose the checkboxes and a submit button within an HTML `<form>` with the POST method, pointing to the route of your `zipArchiveFile` method. Laravel will automatically Official Website populate the `$request->input('product_checked')` as an array of the selected values upon form submission. No complex JavaScript is needed for this standard form handling.
Страницы 1