General Development
resolving errors in retrieving categories.
Resolved issues and included sql

Fixed errors with categories and subjects.
General Update
Fixed Date()
General Update