$serverName="127.0.0.1";$connectionInfo=array("Database"=>"AGGCRMTEST","UID"=>"root","PWD"=>"123456");$conn=sqlsrv_connect($serverName,$connectionInfo);if($conn===false){echo"Couldnotconnect.\n";die(print_r(sqlsrv_errors(),true));}$tsql="exec[GetListByName]'o'";$stmt=sqlsrv_query($conn,$tsql);if($stmt===false){echo"Statement1couldnotbeexecuted.";die(print_r(sqlsrv_errors(),true));}else{$qty=sqlsrv_fetch_array($stmt);sqlsrv_free_stmt($stmt);}怎样一个一个的取到数据啊。。。。。。。。。。。。。。(让数据一个一个的显示出来)
白衣染霜花
繁星点点滴滴
相关分类