<table width="100%" border="0" cellspacing="1" cellpadding="0" style="background:#CCC">
 <tr>
  <td align="center" bgcolor="#FFFFFF">第一列</td>
  <td align="center" bgcolor="#FFFFFF">第二列</td>
 </tr>
 <tr>
  <"htmlcode">
<"Hello world. It's a beautiful day.";
print_r (explode(" ",$str));
"htmlcode">
Array
(
[0] => Hello
[1] => world.
[2] => It's
[3] => a
[4] => beautiful
[5] => day.
)

标签:
php,循环table,一行两列显示

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
狼山资源网 Copyright www.pvsay.com

评论“php循环table实现一行两列显示的方法”

暂无“php循环table实现一行两列显示的方法”评论...