Answered
Split a query result
Hello
I would like to split/group (I'm not sure about terms) a query result. Let's assume I get a query with 50 results. I would like to show only 4 then the next 4 etc. I have the following code which displays active and inactive arrows.
I imagine building a loop around my result sets of 4 and place each of those sets in a DIV. The linked arrow images would then show resp. hide the DIVs.
Below the code I prepared so far but I cannot go on because can't resolve the question above and then find an efficient idea of showing each result set.
Has somebody a good input? Would be great!
Many thanks
I would like to split/group (I'm not sure about terms) a query result. Let's assume I get a query with 50 results. I would like to show only 4 then the next 4 etc. I have the following code which displays active and inactive arrows.
I imagine building a loop around my result sets of 4 and place each of those sets in a DIV. The linked arrow images would then show resp. hide the DIVs.
Below the code I prepared so far but I cannot go on because can't resolve the question above and then find an efficient idea of showing each result set.
Has somebody a good input? Would be great!
Many thanks
