Basic steps for creating a new php file:
Related recommendations: "PHP Tutorial"
The first step is on the desktop Right-click in the blank space -> New -> Text file.
The second step, double-click to open this text file, enter the PHP code in it, after entering, select File-> Save as...
The third step, enter your PHP file name, with the extension PHP.
Of course, you can also use web page editing tools, which are more intuitive and convenient, such as Dreamweaver. You can directly create a new web page file and select the PHP file.
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!