Input right data into mysql too

Derp. A 2 months derp.