Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 10th, 2004, 07:41 AM
Authorized User
Join Date: Sep 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default Storing PHP Session data in a MySQL db?

Dear all,

I am wondering if you can help (I seem to be asking that all the time I post to these forums!)

I have a PHP/MySQL website to develop (for uni coursework), and am needing to store Session variables inside a MySQL DB table. There are a few reasons for this, but one of the biggest is so I can verify the users details (In a similar way to p2p does when you sign up) but also coz it may come up in the exam! I therefore need to know how to do this. I know it is possible, 'coz I remember seeing something on it when I googled the issue a while back (But can I remember what I typed into Google!! Course I can't. Thank you Murphy's Law!)

If it is possible for someone to either point me in the direction of a good URL that shows how to do this, or give me a function name I look up on somewhere like php.net I would be immensely grateful.

Many thanks in advance

David Thorne, Student
David Thorne, Student
Old May 10th, 2004, 08:33 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts

This any help:


It's a bit terse, I know

Similar Threads
Thread Thread Starter Forum Replies Last Post
storing serialized data in MySQL table ire MySQL 3 November 13th, 2008 06:27 AM
connect to mysql db from php 5 crmpicco PHP Databases 1 September 26th, 2007 05:14 PM
Storing form array data to MySQL using PHP osemollie Beginning PHP 0 February 2nd, 2006 07:32 AM
PHP - Db mysql count dungey PHP Databases 2 July 15th, 2004 02:59 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.