Home >Backend Development >PHP Tutorial >[PHP] PHP introductory tutorial (1)

[PHP] PHP introductory tutorial (1)

WBOY
WBOYOriginal
2016-07-29 08:59:041044browse

Foreword

System environment: window8

Running environment: xampp

Editor: Sublime Text 2

Since I taught myself Android development before, I went to find an internship later, and now I am assigned to do PHP development.

Install the development environment

Since I had the experience of self-learning Android, I found that the fastest way to learn programming is to install the development environment immediately and start writing code.
The quicker this process happens, the better.
Download xampp and install it to D drive

Download sublime Text 3

Write the first PHP program

<code>


<?php echo "hello world";
?>





</code>

Save this text as Hello.php Save to D:xampphtdocs (Keeping it in other locations may not work)

[PHP] PHP introductory tutorial (1)

Open this text by typing it in your browser and you will see it!

[PHP] PHP introductory tutorial (1)

Your first PHP program is done! !

.

Summary

You are welcome to correct me on the shortcomings of the article. I am also a beginner in PHP. I will continue to update the article in the future.

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces [PHP] PHP introductory tutorial (1), including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

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