Have been playing around with PHP for about half a year now, having been insipred by Kevin Yanks great article: http://www.webmasterbase.com/article.php?aid=228&pid=0 and put it into practice on a game site http://www.smcompendium.f2s.com (much dodgy coding!).

Have trolled around alot of the PHP help sites and tried of the scripts available at http://www.hotscripts.com . Basically it's getting to the point where I have a good idea of what's capable with PHP and I'm trying to get to the next level in PHP, beyond hacking my way through scripts and writing inefficient, messy code.

Wondering if anyone has general advice on where to go next. What are the good practices to adopt? How should I go about building up a functions library? Are there any articles out there that can help with making the jump from newbie to intermediate? And how do I know when I've got there (what are the signs of a better PHP developer)?