HTML输出提供给PHP文件

I have an HTML form, when clicked Submit, gives me an output in JSON format with the help of

$('#result').text(JSON.stringify($('form').serializeObject()));

My HTML form has action="filename.php"* and its method as post

Now I want to send/read these values in a PHP file and should be able to perform operations on them. Like, print them on screen (Echo) or insert them into database.

Please help on how to get the values in readable/accessible format in my php file? Thanks in advance.

查看全部
dongya2029
dongya2029
2013/04/29 13:14
  • json
  • php
  • html
  • ajax
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

2个回复