Magic Quotes (y/n question)

I haven’t looked at a PHP book for ages (4 years in tech time is ages). I use the online documentation.

And the last PHP book I read wasn’t really beginner level
PHP Master: Write Cutting-edge Code

But I can recommend this one
PHP & MySQL: Novice to Ninja

It goes through the steps to setting up a localhost environment (so you don’t need a live host)
and works through an example application

It doesn’t cover every aspect of what PHP or MySQL can do of course, but by the time you work through it you will be better able to use documentation to write code to go whatever path ou want to follow next.

A plus is that many here are experienced with the book so if you get stuck help is near.