2003server iis6.0 + php5.28+mssql2005联接如下错语
arning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC 驱动程序管理器] 未发现数据源名称并且未指定默认驱动程序, SQL state IM002 in SQLConnect in D:\webcome\renrenup.com\newfile.php on line 18
------解决方案--------------------你 #18 使用 odbc 连接的数据库
怎么又用 mssql 函数操作呢?
....
$sql = "select yop 10 * from W_Member";
$result = odbc_exec($connection, $sql);
while ($row = odbc_fetch_array($result)){
print_r($row);
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn