Home >Backend Development >PHP Problem >How to use php code

How to use php code

藏色散人
藏色散人Original
2019-10-17 09:49:593660browse

How to use php code

How to use php code?

Download Wampserver

warmserver provides an environment for PHP to run

How to use php code

The installation steps are not given here, search Just one click.

How to use php code

Write a simple php code

How to use php code

<!DOCTYPE html> <html> <body> <?php echo "Hello World!"; ?> </body> </html>

How to use php code

I use notepad Written in a text editor, this file can be temporarily saved on the desktop. Pay attention to the name of the .php file

How to use php code

Open Wampserver

Find the Wampsertver icon, left-click, find the www directory, click

How to use php code

Open the browser

Enter in the browser: localhost/new 1.php and you can see the effect

How to use php code

More For PHP related knowledge, please visit PHP中文网!

The above is the detailed content of How to use php code. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn