thesonix
thesonix

Reputation: 3260

DB sort and groupby in php

I was wondering if there is some framework oder library which allows me to do sort and group by, which would be done in mysql, in PHP on an application level?

A google search didn't help me, yet.

Thanks

Upvotes: 0

Views: 78

Answers (2)

Cerad
Cerad

Reputation: 48865

Like the folks who commented I too am a bit puzzled over exactly what you are asking. But to answer your question, the Doctrine 2 Object Relation Manager can sort and group: http://www.doctrine-project.org/

Upvotes: 1

linepogl
linepogl

Reputation: 9335

You can use PHP array functions to do that.

If you want something more advanced, you should have a look into Microsoft's LINQ. There are many variants of LINQ ported to PHP. You can find one here.

Upvotes: 0

Related Questions