View | Annotate | Download (1.7 KB)
Update copyright date to 2010
Add $db object
Use library functions to delete a borrower
Don't allow deletion of active borrowers
Fixed permissions back to the way they were before I messed them up :)
Proper escaping of characters when inserted into database
This was only happening for the '&' character (upon inserting a new business), because the values were being passed along via $_GET over AJAX. I changed it to use $_POST instead, using the jQuery ajax framework (since I don't know how to use the prototype one).
First up the deleteBorrower page
Removed an old testing statement in the JS and made the deleteBorrower page