Tutorials – PHP

The PHP Manual
Contains a whole section with links for more information on writing secure PHP coding – http://php.net/manual/en/security.php
https://www.addedbytes.com/articles/writing-secure-php/writing-secure-php-1/