Fixed te data not being inserted into DB.

If you're happy and you know it, syntax error!