#5 Show Product Data From Database in Laravel | Laravel 9 E-commerce Project Tutorial For Beginners
Вставка
- Опубліковано 19 вер 2024
- #laravel #laravelecommerceproject #laravelecommerce #laravelshowdatafromdatabase #laravel8
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
#5 Laravel 8 E-commerce Project Tutorial For Beginners
#5 Show Product Data From Database in Laravel | Laravel 8 E-commerce Project Tutorial For Beginners
Subscribe this channel because i will upload 1 video every 24 hours . So you will get the notification .
Great Job Sir!!!..
Thank you sir
Sir please help me. I get the "Undefined variable $data" error. I think it is from HomeController. All I did was following you step by step but why is this happening :( Please help sir
I had this error too.And then,I log out from the user and it worked.
You need to add this to both redirect and index function inside HomeController.php to work properly for both logged in and guest users
$data = product::all();
return view('user.home',compact('data'));
@@MakarMela-ee5ui do not still understand
did he do a video to fix it?
@@MakarMela-ee5ui thanks i did it
Sir how to Show Added Products in Our Products Page
{{ $data->links()}}
I got an error in my $data
Undefined variable: data (View:\onlineshop
esources\views\user\product.blade.php)
$data is undefined
how to solve the problem?
You probably did not send data from the controller to view properly
what was the problem?!?!?!
@@WebTechKnowledge How can we properly do this? Can you please share the code (in text) for this 2 files only? I think I have the correct code but I still get the same error.
user $product variable alternativ e$data
Class 'App\Model\Product' not found
You need to add the model name at the top of Your controller
Sir please answer, I got an error :
Undefined variable: data (View: D:\Ecommerce
esources\view\User\product. blade.php)
How to solve the error?
$data is missing either in view or in the controller
Check them properly
I think it's correct, may I ask for your email, to provide my coding, so that it can be corrected together?
@@musikpopuler6402 yaminshakil7@gmail.com
@@WebTechKnowledge Thanks sir
what was the problem?!?!?!
Need the source code
Call to undefined method App\Models\Product::links()
pagination not work
In the foreach write $product as $products
@@WebTechKnowledge login korar pore user btn btn show na korar karon ki vai
class="btn btn-success!important" den taile solve hoye jabe.
Login korar por kisu template er css r laravel er css overlap kore tai ei problem hoi