下一篇 » « 上一篇

list

作者:semirock    时间:2008-06-28    来源:http://444p.com    点击:490    本文共1篇文章 字体:[ ]

list

<HTML>
<HEAD>
<TITLE>list</TITLE>
</HEAD>
<BODY>
<?
$colors = array("red", "green", "blue");

//put first two elements of returned array
//into key and value, respectively
list($key, $value) = each($colors);

print("$key: $value<BR>\n");
?>
</BODY>
</HTML>
发表评论
密码: (游客不需要密码)
记住我【Alt+S 或 Ctrl+Enter 快速提交】

搜索工具


《PHP函数》点击排行