I'm not clear about you!I think you want to store your forms in MySQl Database. If I right you need to encode your form data into JSON. For encoding and decoding you have to use json_encode() and json_decode()