PHP 7 in easy steps will teach you to code server-side scripts.
It begins by explaining how to install a free web server and the PHP interpreter to create an environment in which you can produce your own data-driven server-side web pages.
You will learn how to write PHP server-side scripts and how to make MySQL database queries.
Examples illustrate how to store and retrieve Session Data, how to provide a Message Board, and how to access Web Services APIs over Hypertext Transfer Protocol.