...although it's a lot more productive for everyone to have a serious crack at it yourself: there's nothing like struggling away at something, crawling through the manual and books (and on the subject, I'd recommend O'Reilly's Programming PHP - entirely on the strength of their reputation, I admit, because the only PHP reference I've ever used has been the manual and forums like this), and getting a solution ALL BY YOURSELF! (Though maybe you shouldn't do what I had to do, and learn it while using it on a major site.)
It benefits you, because you learn all sorts of funky little things as you go, and it benefits those on the forums who help, because you can ask interesting questions clearly and you're more capable of understanding the answers, so that they don't feel like they're wasting their time.
</advocacy>