dynamic list from table

dynamic list from table

Hi,

i'd like to create a dynamic list from a postgre database, but I don't know how to save it. Here is the idea so far:
-> Single-Page solution, so ajax is required to do the job
-> jq-ajax loads the table content
-> eg. some editing here
-> jq-ajax to save the (edited) content

Here we got to the point, where I don't know how to handle the produced data, that is for instance json, and how to get it in a "nice database format", to insert it here.

I'd be glad, when there would be a existing snipped, that would do the job or if there is a simple solution. And sorry for my bad language skills.

Thanks in advance!