About newline in WeChat public platform development-php Tutorial

Source: Internet
Author: User
About newline in public platform development
$ ContentStr = "Hello, glad to meet you. I am an assistant for Zhoushan traffic. I will teach you how to use me! \ R \ n ". "[1] check the line: enter the bus number to query. for example, enter 28 \ r \ n [2] enter a non-digital bus number: [fast 1] [disk for urban and rural areas] [Game 1] [Game 2] [Game 3] [maroon ring line] \ r \ n [3] query site: if you enter "East Gate Station", please try to enter the correct location \ r \ n [4] to reply to the "start point" to "end" query line, for example, enter "Ocean College to exhibition ", please try to enter the correct location "\ r \ n [5] and reply"?" Check this article again \ n mo da ";

Why is there no blank line? \ r \ n, \ n cannot be used .....


Reply to discussion (solution)

$ ContentStr = "Hello, glad to meet you. I am an assistant for Zhoushan traffic. I will teach you how to use me! ". "\ R \ n ". "[1] check the line: enter the bus number directly to query, for example, enter: 28 ". "\ r \ n ". "[2] enter a non-digital bus number: [fast 1] [disk for urban and rural areas] [Tour 1] [Tour 2] [Tour 3] [maroon ring line ]". "\ r \ n ". "[3] site query: enter a location as accurate as possible, for example, Dongmen station ". "\ r \ n ". "[4] reply to the" starting point "to" ending point "query line. for example, enter" Ocean College to exhibition ". please try to enter the correct location "". "\ r \ n ". "[5] reply"?" View the information "." \ n "." "again ";

\ N line feed
\ N empty line

Where did you see no line breaks?

\ N line feed
\ N empty line

Where did you see no line breaks?

But I have already done it myself.

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.