Home > Article > Backend Development > How to create a new php file
How to create a new php file? The specific steps are as follows:
Related recommendations: "php Basic Tutorial"
Right-click on a blank space on the desktop -> New -> Text file.
After double-clicking to open this text file, enter the PHP code in it. After entering, select File-> Save as...
Enter your PHP file name here, with the extension PHP.
Of course you can also use web editing tools, which is more intuitive and convenient. For example: Dreamweaver, directly create a new web page file, select the PHP file and it is OK.
The above is the detailed content of How to create a new php file. For more information, please follow other related articles on the PHP Chinese website!