Replaced NOW() with non-mysql-compatible PHP alternative.

Not all databases support NOW() (such as SQLite). date() is a safer way to add the date to the database.