#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

Комментарии • 41

  • @Bhardwajmurtiarts1
    @Bhardwajmurtiarts1 2 года назад +1

    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

  • @rajendraparmar1501
    @rajendraparmar1501 3 года назад +1

    Hats off to you Sir...you are great!!!

  • @nellyanderson8623
    @nellyanderson8623 2 года назад

    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.

  • @hiep.van.5822
    @hiep.van.5822 2 года назад

    this is the best video have ever seen

  • @gibrann8792
    @gibrann8792 Год назад

    why my message x button cannot be touch?

    • @WebTechKnowledge
      @WebTechKnowledge  Год назад

      Add bootstrap cdn link in the head section. Go to getbootstrap.com

    • @gibrann8792
      @gibrann8792 Год назад

      @@WebTechKnowledge the problem is in the x message after add product

    • @gibrann8792
      @gibrann8792 Год назад

      @@WebTechKnowledgethat x button cannot be clicked

  • @juniorayinda6401
    @juniorayinda6401 2 года назад

    404 page not found how to solve it?

    • @WebTechKnowledge
      @WebTechKnowledge  2 года назад

      Check the view name properly

    • @dhianouira8565
      @dhianouira8565 2 года назад

      @@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

    • @WebTechKnowledge
      @WebTechKnowledge  2 года назад

      @@dhianouira8565 check if your route name match properly

    • @dhianouira8565
      @dhianouira8565 2 года назад

      @@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();
      }

    • @rafovirabyan7239
      @rafovirabyan7239 2 года назад +2

      php artisan route:cache

  • @vichisaini3649
    @vichisaini3649 2 года назад

    hi, I am following this series, CSS and js files not working for update blade view. Anyone help me in this

    • @WebTechKnowledge
      @WebTechKnowledge  2 года назад

      In the head section write

    • @vichisaini3649
      @vichisaini3649 2 года назад

      @@WebTechKnowledge I am using this but it's not working

    • @WebTechKnowledge
      @WebTechKnowledge  2 года назад

      @@vichisaini3649 ohh sorry i made a mistake
      copy this in the head section

    • @vichisaini3649
      @vichisaini3649 2 года назад

      @@WebTechKnowledge still not working this code

    • @WebTechKnowledge
      @WebTechKnowledge  2 года назад

      @@vichisaini3649 Check this stackoverflow.com/questions/28214499/laravel-5-not-finding-css-files

  • @yazankad2004
    @yazankad2004 3 года назад

    css is not work in updateview i try its not work any solution??