国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發(fā)設(shè)計 > 正文

通過ODBC連接的SQL SERVER實例

2019-11-18 20:46:34
字體:
供稿:網(wǎng)友
通過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>/n";
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);
?>  
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 白河县| 桐乡市| 南平市| 玛多县| 瑞丽市| 龙州县| 屯昌县| 瑞金市| 灵寿县| 弋阳县| 太谷县| 桃源县| 阿勒泰市| 永修县| 焦作市| 凤冈县| 新干县| 福鼎市| 启东市| 锡林郭勒盟| 健康| 巧家县| 紫金县| 闽侯县| 嵊州市| 建阳市| 偏关县| 安岳县| 柘城县| 灵武市| 广德县| 凭祥市| 东源县| 平潭县| 福建省| 谢通门县| 盐津县| 徐水县| 屯昌县| 丹寨县| 宁国市|