Hi there,
To see all my neat php stuff, change the URL in your browser's address bar from brianashe.com/php to brianashe.com/php2 . If you want to know why it had to be moved without a link, read what happened here. I recommend starting with "showall.php".
Eventually, I'll actually do a writeup of all this stuff, but until I get around to it (hint: don't hold your breath), here's a list of PHP and SQL links.