In short, yes. You really can learn the basics of PHP in 24 hours. PHP provides an enormous wealth of functions that allow you to do things for which you would have to write custom code in other languages.
Understanding the syntax and structures of a programming language is only the beginning of the journey. You will only really learn by building your own projects and by making mistakes. You should see this book as a starting point.