PHP output variable is empty in HTML, how to solve

Source: Internet
Author: User
PHP output variable is empty in HTML
PHP Code
  
   
  
   Test1. The first method:
I want to output the value of this variable
2. The second method:
I want to output the value of this variable


------Solution--------------------
Turn on the short mark feature

But this is not generally recommended.
------Solution--------------------
Please open the short label
------Solution--------------------
Better not open, as to why I do not know, probably the beginning of XML is
"> is
------Solution--------------------
PHP.ini Find Short_open_tag Remove the front semicolon. Set its value to on remember to restart Apache

Do not open the paragraph mark is written according to the standard notation.
------Solution--------------------
discuss
I use the tool is DW, how to open a short label, open what will be the impact?

If you do not open the short label function then I write the link with the parameters how to write ah?

For example, "How do I write a case without a short label?"

------Solution--------------------
Have time to look at the FAQ in the top post .... Content

The Short tab opening is easily confused with some other language code, resulting in greater confusion.
------Solution--------------------
I just found out that the long label can't do that. , #6 the answer to # # is correct discuss

Better not open, as to why I do not know, probably the beginning of XML is
"> is
  • Related Article

    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.