PHP输出SQL2005 Datetime字段出错
$connectionInfo=array("UID"=>$Server_User,"PWD"=>$Server_Pass,"Database"=>$d...
$connectionInfo =array("UID"=>$Server_User, "PWD"=>$Server_Pass,"Database"=>$default_db); $conns = sqlsrv_connect($Server_IP,$connectionInfo) or die("不能连接到服务器!可能是服务器没有启动!故障原因:".print_r( sqlsrv_errors(), true)); $downloadfiles=sqlsrv_query($conns,$AUTO_Search->search($mysearch,$expmysearch,$dl,$_GET['pl'])); $downloadfile=sqlsrv_fetch_object($downloadfiles); echo $downloadfile->times; 这样的语句输出其他字段时正常,就是输出
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询