PHP如何post下面这串数组
thpinfo: {\"sign\":\"\",\"tphtrxcrtime\":\"\",\"tphtrxid\":0,\"trxflag\":\"trx\",\"trxsn\":\"\"}
我post后,后台查到只是thpinfo:{\
https://bbs.csdn.net/wap/topics/70486640
thpinfo: {\"sign\":\"\",\"tphtrxcrtime\":\"\",\"tphtrxid\":0,\"trxflag\":\"trx\",\"trxsn\":\"\"}将这个数组序列化一下
你可以接受全局变量看一下
...看起来是序列化了
直接把数组JSON.stringify 一下传参就能接收了
直接在前台JSON.stringify(你的obj),php接收端json_encode一下,就可以了,打印一下,然后根据数据处理一下就行