Hi Ankit,
As there are n number of books available over the web but through I learned and suggested y many PHP Developers is Head First PHP & MySQL Why it is best? Throughout Head First PHP & MySQL, the reader gets delighted by means of fascinating real-world examples for learning how to harness the power of the popular server-side programming language and its beloved counterpart RDBMS i.e. MySQL.
The visually-rich format formula of the Head First series works for Head First PHP & MySQL equally well as with other books in the series. In addition to the quality content, the PHP book is full of mentally-challenging exercises and quizzes.
Head First PHP & MySQL explains the creation of MySQL database tables, transforming HTML pages into dynamic websites, creating images on the fly, and making use of cookies and sessions to get visitor information and use the same for personalizing the website for users.
Click here to check the best PHP books for programming.