There are many blank lines at the top of the source code.

Source: Internet
Author: User
There are many blank lines at the top of the source code, so I don't know how to see them. When I checked the source code, I found that there were many blank lines at the top and I don't know how to remove them. Solution! Source code empty lines are shared to: there are many empty lines at the top of the source code, so I don't know how to see them.
When I checked the source code, I found that there were many blank lines at the top and I don't know how to remove them. Solution!

Empty source code line

Share:


------ Solution --------------------
Let's take a look at your php files in?> How many blank lines are there and ------ Solution --------------------
Are you still using include files? Are there any template files?
16 blank lines are definitely not caused by one file! No one needs to do anything.
------ Solution --------------------
How many files have you checked?
Add
Print_r (get_included_files ());
Check all printed files

It does not rule out situations such as echo "\ n" in $ smarty-> display ("index.html ");
It does not rule out empty rows between php code segments written in segments.


------ Solution --------------------
However, the BOM header does not cause line feed.

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.