Renamed stats.php to budget.php.
Added the ability to keep track of a budget for each tag.
Moved most of the database functionality into the database classes. Cleaned up this file as a result.
Removed anything and everything that touches card_num. We don't want to mess with it any more than we have to (due to PCI-DSS).
Now all transactions are inserted with the current user as the owner.
Renamed getTagIdByLabel() to getIdByLabel().
Added addLabel() and removeLabel().
Added support for owner.
Added the "budget" column which stores the user configurable max spending for this tag.
New file.
Added to deal with tag_list table.
Updated to include current userId for updated functions.
Converted sprintf() calls to number_format() calls (includes rounding).
Updated for the "budget" column in tag_stats.
Renamed "stats.php" to "budget.php" and "Statistics" link to "Budget".
Strip off the last 2 chars of the tag (the big X) when removing tags so it matches existing tags.