#7 Update Data In Laravel | Laravel E-commerce Project Tutorial For Beginners
HTML-код
- Опубликовано: 30 сен 2024
- #laravel #howtoupdaatedatainlaravel
Laravel E-commerce Project Tutorial Playlist: • Laravel E-commerce Pro...
Buy me a Coffee 🥰 : www.buymeacoff...
Thanks For Watching.
Support This Channel :
Join this channel to get access to perks:
/ @webtechknowledge
Your support will be really appreciated.
I hope This video was helpful.
If you have any questions then let me know in the comment section.
Best of luck.
#webtechknowledge
You can connect with me with the given links below:
Please Subscribe to this channel: / @webtechknowledge
Join this channel to get access to perks:
/ @webtechknowledge
Follow me on :
Facebook Link: / yaminshakil07
Instagram Link: / yamin_shakil
Twitter Link: / yaheashakil
how to update data in laravel
#7 Update Data In Laravel | Laravel E-commerce Project Tutorial For Beginners
#7 Laravel 9 E-commerce Project Tutorial For Beginners
Sir your way of explaining is very good and you have a lot of experience or i haven't had any problem in making the project yet
Hats off to you Sir...you are great!!!
The way you explain this things even a 5 year old boy would understand. You earn my respect!!
Please incase I want my users to shop first, and then create an account on checkout, how can I do that . I will gladly appreciate your response .
Cheers,
Nelly.
this is the best video have ever seen
why my message x button cannot be touch?
Add bootstrap cdn link in the head section. Go to getbootstrap.com
@@WebTechKnowledge the problem is in the x message after add product
@@WebTechKnowledgethat x button cannot be clicked
404 page not found how to solve it?
Check the view name properly
@@WebTechKnowledge hello
thank you truly for your videos
I just wanted to ask about the 404 page not found cuz I'm having the same issue when clicking update
@@dhianouira8565 check if your route name match properly
@@WebTechKnowledge it does that's what's bugging me this is my route
Route::post('/updateproduct/{id}', [AdminController::class,'update']);
and this is the function I'm calling from the AdminController
public function update(Request $request ,$id)
{
$data=product::find($id);
$image=$request->file;
if($image)
{
$imagename=time().'.'.$image->getClientOriginalExtension();
$request->file->move('productimage', $imagename);
$data->image=$imagename;
}
$data->title=$request->title;
$data->price=$request->price;
$data->description=$request->description;
$data->quantity=$request->quantity;
$data->save();
return $request->input();
}
php artisan route:cache
hi, I am following this series, CSS and js files not working for update blade view. Anyone help me in this
In the head section write
@@WebTechKnowledge I am using this but it's not working
@@vichisaini3649 ohh sorry i made a mistake
copy this in the head section
@@WebTechKnowledge still not working this code
@@vichisaini3649 Check this stackoverflow.com/questions/28214499/laravel-5-not-finding-css-files
css is not work in updateview i try its not work any solution??
Did you also mention admin folder in the css link?
@@WebTechKnowledge yes i do
Send the head part code here
@@WebTechKnowledge
@include('admin.css')
Can i see the code in admin.css