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

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

    Very useful brother. Thank you very much.

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

      You are most welcome

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

    sir make more video plz

  • @NasirKhan-jy3gp
    @NasirKhan-jy3gp Год назад

    hello sir at 10:44 to view the values on blade is it still working on Laravel v10.0.3

    • @Laratips
      @Laratips Год назад +1

      Yes, it is working.

    • @NasirKhan-jy3gp
      @NasirKhan-jy3gp Год назад

      @@Laratips
      @foreach($data as $p)
      {{$loop->index+1}}
      {{$p->ProductName}}
      {{$p->ProductPrice}}
      @foreach($data->comment as $c)
      {{$c->comment}}
      @endforeach
      @endforeach
      Produt works well but when 1 try to fetch their comments i get this error
      Property [comment] does not exist on this collection instance.

    • @NasirKhan-jy3gp
      @NasirKhan-jy3gp Год назад

      but with this code it is working now
      @foreach($data as $p)
      {{$loop->index+1}}
      {{$p->ProductName}}
      {{$p->ProductPrice}}
      @foreach($data[$loop->index]->comment as $c)
      {{$c->comment}}
      @endforeach
      @endforeach

    • @NasirKhan-jy3gp
      @NasirKhan-jy3gp Год назад

      how i can fix it ?

    • @Laratips
      @Laratips Год назад +1

      You don't need to fix it. It is working as is.