Php automatically complements tags such as <tr>

Source: Internet
Author: User
Php auto-completion & lt; tr & gt; and other tags I have a code like this & lt ;? Php & nbsp; for ($ I & nbsp ;=& nbsp; 0 & nbsp ;;& nbsp ;$ I & nbsp; & lt; & nbsp; 10 & nbsp; & nb php auto-completionTag issues
I have a piece of code like this.

  for($i = 0 ; $i < 10 ; $i++)
  {
      if($i % 2 == 0)
      {
        echo "";
      }
      echo "@#$%^&*$%^&";
      if($i % 2 == 0)
      {
        echo "";
      }
  }
?>

I want to create a table with five rows and two columns in each row
In the end, ten rows and one column in each row are created.

But when I do this:

  for($i = 0 ; $i < 10 ; $i++)
  {
      if($i % 2 == 0)
      {
        echo "";
      }
      echo "@#$%^&*$%^&";
  }
?>


The script automatically generates the tr end tag.

This is annoying. when I want to create a more complex table, I cannot tell which labels will be automatically generated, which will not, and the last generated tables will be messy.

Is there any way to make it not automatically generated.
------ Solution --------------------
It is best not to use tables to control the data, but how nice it is to use li or the like. Otherwise, we will judge what we have judged in the past...

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.