I've only just remembered we now have a PHP forum here so thought I'd contribute a very useful link:

PHP and MySQL coding tips

Some great tips in there