</form> </div> <div class="page"> <h2>Spending Data</h2> <br> <table style="width:100%"> <tr> <th>Amount Spent</th> <th>Description</th> <th>Category</th> <th>Date Purchased</th> <th>Remove</th> </tr> <tr> <?php display_spending($_SESSION['userId']); ?> </tr> </table> </div> </body>
<div class="page"> <h2>Spending Data</h2> <br> <table style="width:100%"> <tr> <th>Amount Spent</th> <th>Description</th> <th>Category</th> <th>Date Purchased</th> </tr> <tr> <?php display_spending(); ?> </tr> </table> </div> </body> </html>