PHP Creating & saving a PHP file

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.


Share This Page to Download:

Share to Download

Share This Page on:


Ask Question