";
// Fetch all factory records
$strQuery = " SELECT * FROM $myTable GROUP BY Year_std ";
$result111 = $dbObj->execQuery($strQuery);
//Iterate through each factory
if ($result111) {
while( $rs111 = $dbObj->fetchArray($result111) ) {
$Budget_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
//Finally, close element
$strXML .= "";
//Create the chart - Pie 3D Chart with data from strXML
echo renderChart("../charts/Column3D.swf", "", $strXML, "", 750, 375, false, false);
?> |
ปีงบประมาณ |
จำนวนข้อมูลทั้งหมด /รายการ |
fetchArray($result) ) {
$Budget_year = $rs['Year_std'];
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF";
?>
![](../picture/linesub.gif) |
=$rs["Year_std"];?> |
|
ทั้งหมด ปี |
|