Dbmier LED Artcraft Tracing Light Pad Light Box Light Board Light Table- A4

PHP Tech Blog

Dbmier LED Artcraft Tracing Light Pad Light Box Light Board Light Table- A4

留言簿(5)

Links

My Favorites

推荐技术文章

阅读排行榜

评论排行榜

PHP implode() 函数使用方法

定义和用法
 implode( )函数返回一个字符串的内容阵列。 implode — Join array elements with a string 

Note: implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it may be less confusing to use the documented order of arguments.

语法

implode(separator,array)

参数说明
分隔可选。指定放什么东西到之间的数组元素。默认为“ ” (空字符串)
阵列必需的。阵列加入到一个字符串


-------------------------------------------------- ------------------------------

提示和说明
注:implode( )函数接受其参数要么秩序。然而,对于符合implode炸( ) ,你应该使用记录命令的论点。

注:分隔参数的implode( )是可选的。但是,建议总是使用两个参数的向后兼容。


-------------------------------------------------- ------------------------------

例如

 <?php

$arr = array('Hello','World!','Beautiful','Day!');
echo implode(" ",$arr);
?>
输出.
Hello World! Beautiful Day!
 




posted on 2009-07-31 13:03 haix 阅读(767) 评论(0)  编辑 收藏 引用 网摘 所属分类: PHP


只有注册用户登录后才能发表评论。
网站导航:
Dbmier LED Artcraft Tracing Light Pad Light Box Light Board Light Table- A4