You may not immediately want to look for a book depending on how you learn. The way I learned coding was by doing. I had read 2-3 books and just couldn’t grasp abstract concept without practicality being forced upon me.
So what I did was began researching how the framework functioned. Then I started looking at existing code and figuring out how it applied to my knowledge of the framework. And then I created a series of projected I wanted to copy and wrote all of the code.
there’s Php & MySql development by Luke Welling but it’s a bit dated (2008)
Apress has just released a new version of Php & mysql from novice to professional.
You could also check out the Php Live course at sitepoint. Actually the videos are available on the sitepoint youtube channel for free.
I’ve been going through PHP Solutions: Dynamic Web Design Made Easy by David Powers. It’s a second edition for PHP5. I feel like I’ve been learning a lot, and have had to stop and re-work some of my existing sites using the techniques he teaches.
Occasionally I’ve been concerned with examples and code he builds – he doesn’t cover all the safety checks you could use in validating forms, for example, and sometimes doesn’t even mention concerns like that. But overall, it’s been a fantastic learning tool, and probably will stay on my shelf as a reference for a long time.