PHP file can be created with any text editor.
To start learn PHP, we recommend that you use Notepad, Notepad 2, Notepad++, etc.
Put Following Code in Text Editor.
<?php
echo "Hello PHP!";
?>
Save the file as simple_php_file.php
Make sure that file extension is php
otherwise it will not execute.
Ask Question