Forum: PHP Jul 28th, 2005 |
| Replies: 12 Views: 3,798 I could help :)
I do have my own CMS, but I can contribute code to yours. |
Forum: PHP Jul 26th, 2005 |
| Replies: 3 Views: 1,669 This is the query I use on my CMS system:
$query="SELECT * FROM news ORDER BY id DESC LIMIT 5";
ORDER BY id DESC will get the latest article first (the article with the highest id).
LIMIT 5 is a... |