PHP session_id and mysql database
Posted: Thu May 16, 2002 7:41 am
Hi, hopefully this isnt a really obveous question, but im only learning, so please forgive me!
I'm setting up an online system to allow people to register for a conference online . Basically i need to be able to collect a load of information, store it in Mysql database, then pass the info from the PHP page to a secure server (that bits sorted) then after it's gone through the server i need to be able to call the session id and add further info to that particuar data row (so that we know the person has paid succesfully)
So at this point i need to know how to set a session id in the mysql database that is a random number that is unique so that when the user gets out the other side it can locate the correct data on the database. I've been told that session id creates a random 32 digit number, but being a complete beginner, have no idea how to write the PHP that will add that to my data base. thats the first problem the second is how to call the row back afterwards, and add to a particular field.
Any help would be greatly appreciated!!!
Cheers,
Tim
I'm setting up an online system to allow people to register for a conference online . Basically i need to be able to collect a load of information, store it in Mysql database, then pass the info from the PHP page to a secure server (that bits sorted) then after it's gone through the server i need to be able to call the session id and add further info to that particuar data row (so that we know the person has paid succesfully)
So at this point i need to know how to set a session id in the mysql database that is a random number that is unique so that when the user gets out the other side it can locate the correct data on the database. I've been told that session id creates a random 32 digit number, but being a complete beginner, have no idea how to write the PHP that will add that to my data base. thats the first problem the second is how to call the row back afterwards, and add to a particular field.
Any help would be greatly appreciated!!!
Cheers,
Tim