Laravel 8 Ajax CRUD with Image Upload - #1 Upload and Save data

preview_player
Показать описание
In this tutorial, we will show you how to create Ajax crud with image file upload and save data into database in laravel 8.

Source code:
Рекомендации по теме
Комментарии
Автор

thanks for you valueable code it is very userful

bloodshotgamingff
Автор

Sir i tried this code a number of times with differenct validation classes like
use
use
use Validator;

I used the Validator::make and \Validator::make

everything is okay except the validation message is not showing in the blade but the app redirects and the error is shown in json syntax like

{"status":0, "error":{"product_name":["The product name field is required."]}}


to check the redirect problem i tried to use alert() in the ajax it doesn't work after i add $.ajax and all the code after it.

aptechstudent
Автор

thanks bro, but i find the Jquery syntax is very horrible, shall you make another one with Vue js instead?

tameramer
Автор

sir please make a php prepare statement crud with images or 3 input field validation ajax jquery boostrap 5 jquery table plugin

ShahzaibKhan-whhh
Автор

can you add the source code i have some problems :'(

hamzatalha