This is a great tutorial on the php basics that you will need for more advanced WordPress customizations.
http://adambrown.info/b/widgets/easy-php-tutorial-for-wordpress-users/2/
Thank you to Adam R Brown for making it easy.