Section 3 learn about PHP from a simple program

Source: Internet
Author: User
It is great to know the online tutorials of the PHPPHP site from a simple program. This part of this article will familiarize you with PHP. I can't do anything without omission. my goal is to allow you to quickly start your PHP programming. 3.1 First, you must have a working web server that supports PHP. I assume that on your server Learn from a simple programPHP

  PHPThe site's online tutorials are already great. This part of this article will allow youPHPBe familiar with it. It is impossible for me to do nothing. my goal is to allow you to start quickly.PHPProgramming.

3.1Prerequisites

You must first have a working supportPHPOfWebServer. I assume that allPHPThe file extension is. Php3.

3.2 PHPInstallation

RelatedPHPFor more information, see the web page.From Taobao.com"PHPInstallation Guide.

3.3Syntax

In terms of syntax,PHPThe language is similarCLanguage. It can be said that,PHPReferencesCThe syntax features of a language.CLanguage improvements. We can write them togetherPHPCode andHTMLCode, not only canPHPEmbed scriptsHTMLFile, we can evenHTMLLabels are also embedded inPHPScript. The following are several methods you can use. You can choose one of the most suitable and stick to this method!

SlaveHTMLSeparating

You can use the following methods:

<?Php...?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.