Home > Backend Development > PHP Tutorial > php循环输出表格错位的有关问题

php循环输出表格错位的有关问题

WBOY
Release: 2016-06-13 12:42:13
Original
1000 people have browsed it

php循环输出表格错位的问题

<div class="wpzj"><br />
  <h1 class="neiyi">外聘专家</h1><br />
    <ul class="bkm"><br />
    	<li class="hong">姓    名</li><br />
        <li>职称</li><br />
        <li>价格</li><br />
        <li class="hong">姓    名</li><br />
        <li>职称</li><br />
        <li>价格</li><br />
        <li class="hong">姓    名</li><br />
        <li>职称</li><br />
        <li class="bkym">价格</li><br />
    </ul><br />
    <ul class="bkm"><br />
<li class="hong">刘    红</li><br />
        <li></li><br />
        <li></li><br />
        <li class="hong">祝    蓉</li><br />
        <li></li><br />
        <li></li><br />
        <li class="hong">吴金荣</li><br />
        <li></li><br />
        <li class="bkym"></li><br />
    </ul><br />
      <ul class="bkm"><br />
    	<li class="hong">刘燕池</li><br />
        <li></li><br />
        <li></li><br />
        <li class="hong"></li><br />
        <li></li><br />
        <li></li><br />
        <li class="hong"></li><br />
        <li></li><br />
        <li class="bkym"></li><br />
    </ul><br />
</div>
Copy after login

我想输出这个表格,可是到了第二行的时候就只显示一个然后换行,我用table的时候没问题。

<br>
<?php  <br />
	  		if ( isset($arrayServiceType) && is_array($arrayServiceType) ) { <div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template