PHP

Creating & Saving PHP file

Creating PHP file

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.

Example:

<?php
    echo "Hello PHP!";
?>

Saving PHP file

Save the file as simple_php_file.php

Note:

Make sure that file extension is php otherwise it will not execute.




Subscribe us on Youtube

Share This Page on


Ask Question