oi king
This commit is contained in:
parent
289f7855fa
commit
3539ab4edd
1 changed files with 2 additions and 7 deletions
9
page.php
9
page.php
|
@ -32,16 +32,10 @@
|
||||||
{
|
{
|
||||||
while($query_row = $query->fetch_assoc())
|
while($query_row = $query->fetch_assoc())
|
||||||
{
|
{
|
||||||
$hostTypes($i) = $query_row['Num'];
|
// KING CUNT: Add the data from the mysqli query to the array here so it can be used...
|
||||||
|
|
||||||
$i++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<script>
|
|
||||||
var id = <?php echo $starttime1; ?>;
|
|
||||||
var id2 = <?php echo $endtime1; ?>;
|
|
||||||
</script>
|
|
||||||
<!--Load the AJAX API-->
|
<!--Load the AJAX API-->
|
||||||
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
|
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -60,6 +54,7 @@
|
||||||
var data = new google.visualization.DataTable();
|
var data = new google.visualization.DataTable();
|
||||||
data.addColumn('string', 'hostType');
|
data.addColumn('string', 'hostType');
|
||||||
data.addColumn('number', 'hostTypeCount');
|
data.addColumn('number', 'hostTypeCount');
|
||||||
|
// KING CUNT: ...here
|
||||||
data.addRows([
|
data.addRows([
|
||||||
['CIT', <?php echo $hostTypes[0]; ?>],
|
['CIT', <?php echo $hostTypes[0]; ?>],
|
||||||
['DEV', <?php echo $hostTypes[1]; ?>],
|
['DEV', <?php echo $hostTypes[1]; ?>],
|
||||||
|
|
Reference in a new issue