Re: [PHP] reverse array for mysql data

2001-05-01 Thread Gyozo Papp
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 off and

RE: [PHP] reverse array for mysql data

2001-05-01 Thread Alok K. Dhir
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