ปีงบประมาณ |
จำนวนรายการ / ปี |
จำนวนเงิน / ปี |
fetchArray($result) ) {
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF";
$Year_std = $rs['Year_std'];
?>
|
การพัฒนาตนเองปีงบประมาณ =$rs['Year_std'];?> |
execQuery($query1);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result1);
echo number_format( $countnum );
?> |
execQuery($query6);
$rs6 = $dbObj->fetchArray($result6);
$dbObj->freeresult($rs6);
echo "". number_format($rs6['Sum'],2,'.',',') ."";
?> |
ทั้งหมด ปี |
";
// Fetch all factory records
$strQuery111 = " SELECT * FROM $myTable GROUP BY Year_std ";
$result111 = $dbObj->execQuery($strQuery111);
//Iterate through each factory
if( $result111 ) {
while( $rs111 = $dbObj->fetchArray($result111) ) {
$Year = $rs111['Year_std'];
$strQuery222 = " SELECT * FROM $myTable WHERE Year_std='$rs111[Year_std]' ";
$result222 = $dbObj->execQuery($strQuery222);
$numAmt222 = $dbObj->_numrows;
$dbObj->freeresult($result222);
$strXML .= "";
} # while
} # if
$dbObj->freeresult($result111);
//Finally, close element
$strXML .= "";
//Create the chart - Pie 3D or Column3D Chart with data from strXML
echo renderChart("./charts/Column3D.swf", "", $strXML, "", 750, 375, false, false);
?> |
|