echo '</tr>'; echo '</table>'; ?> </fieldset> </div> </div> <div id="dashboardRight"> <div id="chartIncome"> <br/> <fieldset> <legend><a href="income.php">Income Per Month</a></legend> <div id="graphA">Loading graph...</div> <?php $admin = new functionalityManager(); $janR = $admin->getAmountPerSection('January', 'Rent to Own'); if ($janR == "") { $janR = 0; } $febR = $admin->getAmountPerSection('February', 'Rent to Own'); if ($febR == "") { $febR = 0; } $marchR = $admin->getAmountPerSection('March', 'Rent to Own'); if ($marchR == "") { $marchR = 0; } $aprilR = $admin->getAmountPerSection('April', 'Rent to Own'); if ($aprilR == "") { $aprilR = 0; }