execQuery($query); $numrows = $dbObj->_numrows; $param = "&"; ?> <?=$_Config_sitename;?> - ข้อมูลงานสารบรรณ
หน้าหลัก » ข้อมูลสารสนเทศบุคลากร » กราฟแสดงสถานะจำนวนบุคลากร
 

"; // Fetch all factory records $strQuery111 = " SELECT * FROM $myTable GROUP BY Year "; $result111 = $dbObj->execQuery($strQuery111); //Iterate through each factory if( $result111 ) { while( $rs111 = $dbObj->fetchArray($result111) ) { $Year = $rs111['Year']; $strQuery222 = " SELECT * FROM $myTable WHERE Year='$rs111[Year]' "; $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); */ include_once("personal_graph.php"); ?>

freeresult($result); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>