I wrote a gentle introduction to PHP for web applications. The text is titled: “PHP For The Web: Enough to be Dangerous” and it is available for free online at: https://bryanhoffman.github.io/ and for download at: https://bryanhoffman.github.io/PHP-For-The-Web–Enough-to-be-Dangerous-by-Bryan-Hoffman.pdf