Support the ongoing development of Laravel.io →
kpzani

kpzani

Joined 21 Mar 2014

Statistics

Threads 2
Replies 14
Solutions 3
Articles 0

Model with calculated sql field doesnt paginate

Hi All. I can't get the paginator to work with a calculated SQL field see below for example // this...

0 Likes
3 Replies
Solved

Shared variables best practice

I have a complex product setup on a shop, so the users basket includes a lot of info cached from the...

0 Likes
3 Replies
replied 11 years ago

dompdf - Problem in looping the array inside $pdf->loadHTML.

you can't put a for each after a concatenate (.) [code] $html = '<html><body>'; foreach...

0 Likes
Solved
replied 11 years ago
0 Likes
replied 11 years ago

Count relationship columns with where

Ok I couldnt think of a way to do this using true models but we can achieve it easy enough using a D...

0 Likes
replied 11 years ago

What am I getting an IS NULL added?

Are you sure you that $contractor is actually set?

0 Likes
replied 11 years ago

orderBy High Medium Low

Can you not use an ENUM field in the database for these values which would allow you to do what you...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.