Welcome Guest, Not a member yet? Register   Sign In
Filtering array values
#3

(03-31-2017, 10:36 AM)InsiteFX Wrote: order_by

See the docs

Order_by ? oO

My rows are like :
Code:
id
...
slide1
slide2
slide3
slide4
slide5
slide6
slide7
slide8



In my view I'm using first slide to show it in a list of results so if slide1 is empty I want to get the next slide AND also to make a slideshow on a specific result, I need to filter empty slides...
I don't think "order_by" can do the job but array_filter() can do it
No ?
Reply


Messages In This Thread
Filtering array values - by cybersven - 03-31-2017, 08:08 AM
RE: Filtering array values - by InsiteFX - 03-31-2017, 10:36 AM
RE: Filtering array values - by cybersven - 04-01-2017, 02:30 AM
RE: Filtering array values - by InsiteFX - 04-01-2017, 04:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB