下一篇 » « 上一篇

Figure 5-4: Initializing an Array

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

Figure 5-4: Initializing an Array

<HTML>
<HEAD>
<TITLE>Figure 5-4</TITLE>
</HEAD>
<?
$monthName = array(1=>"January", "February", "March",
"April", "May", "June", "July", "August",
"September", "October", "November", "December");

print("Month 5 is $monthName[5] <BR>\n");
?>
</BODY>
</HTML>
责任编辑:semirock
发表评论
密码: (游客不需要密码)
记住我【Alt+S 或 Ctrl+Enter 快速提交】

搜索工具


《PHP函数》点击排行