There are huge collections of book out there. Programming PHP Beginning PHP and MySQL 5: From Novice to Professional, Second Edition Web Database Applications with PHP & MySQL, 2nd Edition Beginning PHP5, Apache, and MySQL Web Development (Programmer to Programmer) Sams Teach Yourself PHP, MySQL and Apache All in One (3rd Edition) (Sams Teach Yourself)
What will work for me might not be the right book for you. That's why I suggested five books. I have all of them as my company provides me at free of cost. Lol! It is better to read some reviews and some sample chapters before you buy.
Why not simply use www.php.net There are numerous samples with every command Try and learn .... that was the way I used hape