Can I store a JavaScript Object in a mySQL database?

前端 未结 5 530
谎友^
谎友^ 2021-02-07 20:59

I am gathering data from a webpage visitor and putting it into a JavaScript object I create. But later I want to be able to reference the data they entered.

I have acce

5条回答
  •  不思量自难忘°
    2021-02-07 21:40

    Take a look at JSON. You can use something like jQuery to serialize form data and send it off to the server. Also you could just use plain old forms, and process input on the server side.

提交回复
热议问题