Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about laravel-5.8

Read more about laravel-5.8

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - laravel-5.8

One-To-Many-Relationship: How to sort data based on latest payments and based on their latest order ids

I have an Online Store project written in Laravel 5.8 and I can properly get the latest orders like this: $orders = Order::query()->latest('orders.created_at'); And at the Blade: @forelse($orders ...
test-img

memite7760

php

laravel

one-to-many

laravel-5.8

laravel-relations

Votes: 0

Answers: 3

Latest Answer

forgive me that I don't know Laravelle but the software principles are the same everywhere. Wouldn't you be better getting the correct order in the query in the first place. I saw on this page that (l...
test-img

Brett JB

Need to pass the variable with same value from one function to another in laravel

i'm trying to pass the $customer_id variable from customer function to customerUpdate function , but i'm facing the error like 'undefined variable' <?php namespace App\Http\Controllers; use Illumi...
test-img

Gowtham K

php

laravel

laravel-5.8

Votes: 0

Answers: 1

Latest Answer

You can do it using a class property: namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Crypt; class CustomerDetailController extends Controller { priva...
test-img

Cornel Raiu

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved