·您的位置: 首页 » 资源教程 » 编程开发 » PHP » [转]类与PHP (VI)

[转]类与PHP (VI)

类别: PHP教程  评论数:0 总得分:0
Classes and PHP

Of course, you can't enter column span information with one join, but you can with extra joins. Let's say your array consists of six elements and the third and fifth elements need to span 2 and 3 columns respectively. To do this you can join the ":#" to an intermediate array:



$newarray=$arry;
$newarray[2]=join(list($newarray[2],"2"),":");
$newarray[4]=join(list($newarray[4],"3"),":");
$message=join($newarray,"|");
$Tbody->TROut($message);



Obviously, even more functionality can be added to the class. Also, the code is not idiot proof. If enough people ask, I will add more functionality (email me with your ideas), idiot proof the code and post it.

--Rod




-= 资 源 教 程 =-
文 章 搜 索
关键词:
类型:
范围:
纯粹空间 softpure.com
Copyright © 2006-2008 暖阳制作 版权所有
QQ: 15242663 (拒绝闲聊)  Email: faisun@sina.com
 纯粹空间 - 韩国酷站|酷站欣赏|教程大全|资源下载|免费博客|美女壁纸|设计素材|技术论坛   Valid XHTML 1.0 Transitional
百度搜索 谷歌搜索 Alexa搜索 | 粤ICP备19116064号-1