You're looking in the wrong place. What you want to do should be
handled at the database level. I.e. your SQL query should be something
like:
select title,body from junkyard order by item_number desc, limit
7
Since you refer to what you want as the 'top 7' entries, there is
presumably
> I'm new at programing and not getting very far with this. I've looked
> at "array_revers" and "array_multisort" and can't get anything to work.
> What I have is a mysql table laid out like:
>
> item number | title | body text | subject heading
>
> What I want to do is pull the top 7 entries
2 matches
Mail list logo