Home >Backend Development >PHP Tutorial >[PHP] PHP introductory tutorial (1)
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)
Open this text by typing it in your browser and you will see it!
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.