Just to build upon what allsmiles said, choose your books very carefully. You will almost certainly want something with a lot of examples in there. "Web Database Applications with PHP and MySQL" from O Reilly is excellent in this respect. It sums up everything in a big Web Application from Specification to Code.
You need more than a syntactic grasp of the language!
-------
Duke By the Grace of His Majesty the King of the United Kingdom of Deep
Thoughts and Random Musings, Defender of the Faith