Linux下网通 电信 教育多出口策略路由配置详解[转]
2009-09-27 13:39
411 查看
<script type="text/javascript"><!--
google_ad_client = "pub-4490194096475053";
/* 内容页,300x250,第一屏 */
google_ad_slot = "3685991503";
google_ad_width = 300;
google_ad_height = 250;
// --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>数据库查询记录多行多列显示</title>
</head>
<?php
require_once 'include/config.php';
$result=mysql_query("select * from guestbook");
$i=5;
$j=0;
?>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<?php
while($row=mysql_fetch_array($result))
{
$j++;
?>
<td><?=$row["username"]?></td>
<?php
if($j==$i)
{
$j=0;
echo "</tr>";
echo "<tr>";
}
}
for($k=$i-$j;$k>0;$k--)
{
echo "<td></td>";
}
?>
</tr>
</table>
</body>
</html>
google_ad_client = "pub-4490194096475053";
/* 内容页,300x250,第一屏 */
google_ad_slot = "3685991503";
google_ad_width = 300;
google_ad_height = 250;
// --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>数据库查询记录多行多列显示</title>
</head>
<?php
require_once 'include/config.php';
$result=mysql_query("select * from guestbook");
$i=5;
$j=0;
?>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<?php
while($row=mysql_fetch_array($result))
{
$j++;
?>
<td><?=$row["username"]?></td>
<?php
if($j==$i)
{
$j=0;
echo "</tr>";
echo "<tr>";
}
}
for($k=$i-$j;$k>0;$k--)
{
echo "<td></td>";
}
?>
</tr>
</table>
</body>
</html>
相关文章推荐
- Linux下网通、电信、教育多出口策略路由配置详解
- iproute2配置电信网通(策略路由)
- Linux下针对路由功能配置iptables的方法详解
- linux 配置配置策略路由
- 用linux的策略路由做雙出口負載均衡
- 在Linux下配置基于策略的路由
- Linux多网卡配置高级策略路由---"从哪里来就回哪里去~!" 推荐
- 电信+网通双线接入策略路由+自动切换图文教程
- 电信/网通双线光纤,策略路由/双线分流/双线备份,图文教程
- 详细讲解 在Linux下配置基于策略的路由(示例如何路由mark标志包)
- 电信网通双出口负载分担配置宝典!!!!!!
- Linux下针对路由功能配置iptables的方法详解
- 电信、网通双线策略路由
- 7609上策略路由及使用防火墙NAT进行双出口接入配置
- 使用Linux 策略路由配置多网卡路由
- 在Linux下配置基于策略的路由
- Linux 使用 ip route , ip rule , iptables 配置策略路由
- 华为USG基于源地址的多出口策略路由配置
- ROS2.96,ROS2.97,电信+网通双线接入策略路由+自动切换图文教程
- 网通和电信的策略路由,终于找到了