PHP学习笔记之用php绘制表格示范
程序员文章站
2024-01-19 11:50:10
...
PHP学习笔记之用php绘制表格示例
用php绘制表格示例
define(MAX_NUM, 20);
$bc = "000000";
$color = array();
for ($i=0; $i {
$color[$i] = "#" . $bc;
$bc += 0x00000f;
//echo($color[$i] . "\t");
}
echo "
";
?>
define(MAX_NUM, 20);
$bc = "000000";
$color = array();
for ($i=0; $i {
$color[$i] = "#" . $bc;
$bc += 0x00000f;
//echo($color[$i] . "\t");
}
echo "
";
?>
> | > |
echo(" bgcolor=\"$color[$r]\"> | ");
相关文章
相关视频