PHP is one of the most widespread and effective programming languages for the WEB and it is also very simple to understand. Moreover, we can find many free software to make the code we write run. The file to program in php must always have php extension, and it also supports all HTML tags. This text is aimed at beginners, long and complex examples are not used in order to learn faster without detracting from the effectiveness of what you learn and also makes sure that even the explanations are not long and boring doing so the reader is put in a position to learn directly by programming, since I think that programming as everything is learned by practicing it. All the examples in this text have been done to create safe and error-free examples.