Quick examples for saving a set of post variables from a php form as a json string

Job ID: 37744523

Budget: $10 – $30 USD

I have a core php project and want to quickly save the post values from a form to my MySQL database as a couple of types of strings like json string etc so I can do problemshooting if there was a problem with the submission later.

Then I want to add a page in my admin where I retrieve those with a simple select query and format the post data out into a readable format.

Like using <pre> or pretty print.

I can figure this all out but I don't have time so just give me some examples that I can quickly try on my own in my system (no need to give you access and try to explain my setup to you).

That's it! It would be much appreciated and I would pay you for your examples!
Related categories: PHP JavaScript MySQL HTML JSON