- 论坛徽章:
- 0
|
这时错误信息:
Parse error: parse error, unexpected T_LNUMBER in /var/www/html/test.php on line 20
这是程序:
<html>;
<head>;
<title>;一个漂亮的表格</title>;
</head>;
<body>;
<?php
function userColor()
{
static $ColorValue;
if($ColorValue == "#00ff00"
{
$ColorValue = "#ccffcc";
}
else
{
$ColorValue = "#00ff00";
}
return ($ColorValue);
}
print "<table width="100">;";
for($count=0;$count >; 6; $count++)
{
$RowColor = useColor();
print "<tr>;<td bgcolor='$RowColor'>;";
print "<font size=2>;<center>;行数
$count</center>;</font>;</td>;</tr>;";
}
print "</table>;";
?>;
</body>;
</html>;
谢谢了! |
|