没有合适的资源?快使用搜索试试~ 我知道了~
通过ODBC连接的SQL SERVER实例一 <? $connection = odbc_connect("mydata","userid","passwd"); $query = "select * from tab_1 where no>0" ; $result = odbc_do($connection,$query) ; print "<table border=’1′ width=’100%’ id=’tab1′ cellPadding=’1′ cellSpacing=’0′ align=’top’ bordercolorlight=’#008000′ bordercolorda
资源推荐
资源详情
资源评论
通过通过ODBC连接的连接的SQL SERVER实例实例
通过ODBC连接的SQL SERVER实例一
<?
$connection = odbc_connect("mydata","userid","passwd");
$query = "select * from tab_1 where no>0" ;
$result = odbc_do($connection,$query) ;
print "<table border=’1′ width=’100%’ id=’tab1′ cellPadding=’1′ cellSpacing=’0′ align=’top’ bordercolorlight=’#008000′
bordercolordark=’#008000′>";
while(odbc_fetch_into($result,&$fields))
{
print "<tr>";
for ($i = 21; $i <= 31 ; $i ++) {
print "<td width=’6%’><input style=’BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px solid; BORDER-
LEFT: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-BOTTOM: #ffffff 1px
solid; COLOR: #000000; FONT-SIZE: 9pt’ size=’7′ type=’text’ name=text$i value=$temp>";
}
}
print "</table>";
odbc_close($connection);
?>
资源评论
weixin_38618315
- 粉丝: 1
- 资源: 921
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功