同一条sql,php程序执行的结果和数据库执行的结果不一样,求解
输出sql和结果集的代码如下
$sql=$sql1.$sql_initbest;<br />echo $sql;<br />//initRows4($start_date,$end_date,$objActSheet);<br /><br />//$months=getIntMonth($start_date,$end_date1);<br />//$count_1=3*$months+3;//每个月有3列<br />//echo $sql1.$sql_initbest;<br />$query = mssql_query($sql);<br />//$c=0;<br />//$arr=Array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');<br />//$count_4=0;//月份计数器<br />//$n=4;<br />//$arr1=array();<br />while($row=mssql_fetch_array($query)){<br /> print_r($row);<br /> echo "<br><br>";

$sheet->getStyle('D6')<br /> ->getNumberFormat()<br /> ->setFormatCode('#,##0');<br />
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号