日期:2014-05-17  浏览次数:20613 次

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);
}