Create a dynamic website with PHP
Difficulty: Beginner ● Progress: 0 / 0 modules completed
Where should PHP go?
As with any programming language, it is necessary to create specific files that will contain the PHP code so that it can then be interpreted by a machine.
Logically, the files must have the
.phpextension in order to be detected
In addition to the file extension, PHP has an additional characteristic: the code to be interpreted must be delimited within the file.
You simply need to place all the PHP code between:
- the opening tag
<?php - the closing tag
?>
You need a free account to read this module