PHP beginners: learn the simple syntax of PHP for example

Source: Internet
Author: User
Tags echo d
1. the PHP script code indicates that the PHP script is a pair of special content contained in the file. for example, ASP is "% .... % ", PHP can be viewed as"?...? ". However, to adapt to the XML scale to embed PHP into XML or XHTML, PHP does not recommend applying the short format "? I. PHP script code mark

The PHP script is the content contained in a pair of special tags in the file. for example, ASP is "<%... %>", and PHP can be viewed as" ".

However, in order to adapt to the XML scale to embed PHP into XML or XHTML, PHP does not recommend applying the" ", And it is recommended to use long pattern markers " "

In addition, PHP code blocks support

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.