After ZendStudio is formatted, there is a space between the HTML code and the PHP code. how to remove this post and finally edit it by PioneerProgram in 2015-03-1811: 22: 19 & lt; tr & nbsp; & lt ;? Php & nbsp; if ($ I & amp; 1) echo & nbsp; classalterna Zend Studio after formatting HTML code and PHP code, how to remove it
This post was last edited by PioneerProgram on 11:22:19
>
This code is located in a loop, and $ I is self-incremental to highlight an odd number of rows with class added.
I used to use Zend Studio for code sorting. ctrl + shift + f, but in this case it seems that something went wrong.
In an even row, only one space is displayed, and the space between HTML code and PHP code can be removed.
In the PHP formatting section, there is a white-space. I have canceled all the spaces in it and it does not work. However, the HTML formatting section does not find similar functions, so you can help me find a solution.
------ Solution ----------------------
Isn't that normal?
In html tag, should there be a space between tag name and attribute to separate them?