-4

Possible Duplicate:
It is possible to insert data in two different table in mysql by one insert query php?

I have some users information saved in cookie, the users information are like this,

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

I want to insert these information in to mysql database , The problem is this how can I get these information from cookie and insert into database

Community
  • 1
  • 1

1 Answers1

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.

mowwwalker
  • 16,634
  • 25
  • 104
  • 157