----------------------------------------------------
下面进入正题
准备了5个程序:
1.使用一个基本的函数,其结果是字符串形式,用echo显示出来
2.显示一个漂亮的表格
3.一个表单例子,提交并显示提交结果
4.数据库操纵例子(投票程序)
5.动态创建图形并保存例子
----------------------------------------------------
#程序1:
echo phpinfo();
?>
----------------------------------------------------
#程序2:
static $ColorValue;
if($ColorValue == "#00FF00")
{
$ColorValue = "#CCFFCC";
}
else
{
$ColorValue = "#00FF00";
}
return($ColorValue);
}
print "
| "; print " |
?>


