save them:
#using serialize() method $data = serialize($_SESSION); $sql = "Insert into sessioninfo `data` values('$data')";
and then to retrive:
# I assume you can retrieve the data from database and assign to the following variable $data = unserialize($row['data']);
评论
发表评论