最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php mssql 数据库连接类代码
时间:2010-06-10 编辑:简简单单 来源:一聚教程网
代码如下 | 复制代码 |
class DB_Sql { var $Link_ID = 0; var $Auto_Free = 0; ## set this to 1 to automatically free results function connect() { if (!$this->Link_ID) |
代码如下 | 复制代码 |
$this->Query_ID = mssql_query($Query_String, $this->Link_ID); function metadata($table) { $this->connect(); function nf() { |
", $msg);
printf("MSSQL Error: %s (%s)
",
$this->Errno,
$this->Error);
die("Session halted.");
}
}
相关文章
- php mssql server 2005数据库连接类 06-04
- PHP导出数据超时的优化建议解读 10-31
- PHP之mysql位运算解析 10-31
- Laravel实现登录跳转功能解析 10-31
- php双向队列解读 10-31
- Laravel异常上下文解决教程 10-24