Sure, the SQL code is simple.
But now you have to learn how to use PHP to display what's in the DB table.
And you asked for lots of other extras, like coloring and donors and and and...
I am *NOT* a PHP programmer. But I consider myself expert in JSP and ASP and moderately advanced in MySQL, so I think I could do this in a day or two. Would probably take an experienced PHP person somewhat less than a day.
The SQL involved is pretty trivial:
Code:
To add a new person:
INSERT INTO friends ( whenadded, friendcode, userid, donationamount )
VALUES( Now(), $friendcode, $userid, $donationamount )
To get the last 100:
SELECT * FROM friends ORDER BY whenadded DESC LIMIT 100
But after that...depends on how fancy you want it to be.