I'm new to php, I know to "improvise" something already written, with a lot of tries most of the time.
I'm a graphic designer and I can make websites with html5 and css3, learned that from books and I rarely have any trouble.
But now, when I try to do something more "complex" than that, like a store based on opencart or magento, I always find myself just trying to change and delete and add values, with an hope of getting the results that I want.

Can someone recommend me an up-dated book about PHP so I can learn the basics or even more?
I was thinking about one of these:

PHP for the Web: Visual QuickStart Guide (Visual QuickStart Guides) by Larry Ullman
Link: http://www.amazon.co.uk/dp/0321733452

PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (Visual QuickPro Guides) by Larry Ullman
Link: http://www.amazon.co.uk/dp/0321784073

Those books where based on the amazon reviews, but right now I'd rather buy just one, and I don't even know which one is more usefull for my needs and knowledge.

Thanks in advance.