Skip to content

Tag: laravel

problem with metadata of multiple audio files using laravel

I’m creating a music player using Laravel. I’m trying to implement ‘laravel-getid3’ package into my project. Here is my code which processes the file and uploads it to the database This code can handle multiple files but is very limited i.e. can only gather a limited amount of info fro…

Fetch image variable and display on input file

I am trying to update an image and other data in a database, but when I update only text data, the image value becomes null or empty. This a controller When I input only the title, left out the image, and tried to dump using dd($image);, I got a null value. When updating the image, it’s getting updated …

Serialize form validation Laravel 8

could not validate an array of input in laravel 8. from the frontside I have gotten the serialized form data which was successfully accessible from the backend. what I want is to validate the form inside the update function before I update the data when the user changes. what I have tried on the validation fu…

Encountering “404 NOT FOUND” for Laravel update/edit

in edit_customer: web.php //Customer related pages Profile.php (controller) Answer You are using route group prefix “customer”, so your url in the form should be prefixed url(‘customer/update_customer’, [ ‘cust’ => $cust->id ] https://laravel.com/docs/8.x/routing#route-group-pref…