Laravel Edit and Update, Update Product from form, CRUD Laravel

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 18

  • @tanasevalentin5155
    @tanasevalentin5155 2 ปีที่แล้ว

    I love the trouble shoot :X

  • @callmeprogrammer188
    @callmeprogrammer188 4 ปีที่แล้ว +1

    you really help me to understand laravel..

  • @smarttechonline6856
    @smarttechonline6856 4 ปีที่แล้ว +2

    Why I got this error "The POST method is not supported for this route. Supported methods: GET, HEAD, PUT."

    • @codeonline2683
      @codeonline2683  4 ปีที่แล้ว

      put @csrf in form..it'll be okay then

    • @ai-ly4uk
      @ai-ly4uk 4 ปีที่แล้ว

      @@codeonline2683
      I did, but I couldn't

  • @designerandprogrammer2036
    @designerandprogrammer2036 4 ปีที่แล้ว

    you nailed it man..love this series...

  • @razar6578
    @razar6578 4 ปีที่แล้ว +3

    just one note for beginner if use Rout::resource('products' ,' controller Name'):
    u don't need create route for each page

    • @kamarimarley617
      @kamarimarley617 3 ปีที่แล้ว

      i guess I am kinda randomly asking but does anyone know of a good place to stream new tv shows online?

    • @immanuelkason1905
      @immanuelkason1905 3 ปีที่แล้ว

      @Kamari Marley Try FlixZone. Just google for it :)

  • @RahnStudios
    @RahnStudios 4 ปีที่แล้ว +3

    To everyone getting an error put {{ method_field('PUT') }} in between the form tags

    • @angelalisomona7088
      @angelalisomona7088 3 ปีที่แล้ว

      Thanks, 2022 and it saved me a lot of time inresearch. For Laravel 5 and above, use @method('PUT') inbetween the form tags.

  • @noahbanda153
    @noahbanda153 2 ปีที่แล้ว

    Thanks man

  • @codedose865
    @codedose865 4 ปีที่แล้ว +1

    🤩😍 😍

  • @nowheretobefound17
    @nowheretobefound17 3 ปีที่แล้ว

    With all due respect, the videos is a bit confusing.. maybe upload a video when you clearly understand the best practices to do an edit in laravel! You might confuse people who are just getting started.

  • @ai-ly4uk
    @ai-ly4uk 4 ปีที่แล้ว +1

    Why I got this error " The POST method is not supported for this route. Supported methods: GET, HEAD.
    "

    • @codeonline2683
      @codeonline2683  4 ปีที่แล้ว

      may be you left @csrf in your form?