-4

可能重复:
可以通过一个插入查询php在mysql中的两个不同表中插入数据吗?

我有一些用户信息保存在cookie中,用户信息是这样的,

Fname:Muhammad,Lname:Riaz,title:Developer,org:MagicLamp,email:riaz@yaho.com

我想将这些信息插入到 mysql 数据库中,问题是如何从 cookie 中获取这些信息并插入到数据库中

4

1 回答 1

0

It looks like you're only creating one cookie, "user_token", which contains the serialized information you want. I think you want your foreach to iterate over the unserialized "user_token" cookie instead of all the cookies.

于 2012-05-14T08:09:21.073 回答