PHP echo Output HTML problem online knot sticker

Source: Internet
Author: User
It's weird. I echo every HTML when it's echo " "; It's supposed to be a blue flag, but I have a blue one and grey is what's going on.


Reply to discussion (solution)

Your code is not escaped.

echo "
 
    ";//or use single quote echo '
 
    ;

Your code is not escaped.

echo "
 
    ";//or use single quote echo '
 
    ;


Now it's good. But the page does not appear directly. All pages are designed in HTML to copy the code over. Then add echo to output. I don't know if that's a problem. If you don't put echo on. The table can appear.




Double quotation marks inside the double quotation mark are not added to the clothing \, or the outside with single quotation marks. Style there is no use of echo output will also be error.

Ask the best not to send a map, send code for everyone to copy!

You might as well study.
HEREDOC syntax structure
NOWDOC syntax structure (since PHP 5.3.0)
These two methods of assignment

$str = <<
 
   < pre=""> 
  

echo "Test";


Ask the best not to send a map, send code for everyone to copy!



You directly echo "try."

  • 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.