|
-
Apr 15th, 2002, 10:26 AM
#1
Thread Starter
Lively Member
[nm fixed it]Session Help
I seem to be having a problem when trying to use sessions. I go to write the session to a MySQL db and it writes fine. The problem arises when I go to start the session again in order to retrive the values out, all the values I had just put in get erased.
Do I need to call session_start in order to get the values? If so how or what should I do to keep the values that were in there set.
Thanks for the help.
Last edited by Ender_01; Apr 15th, 2002 at 10:44 AM.
-
Apr 15th, 2002, 10:29 AM
#2
Thread Starter
Lively Member
kind of maybe
Well I kinda just figured it out.
It is calling the update function with the value = "" which in essence erases it. So how can I keep the old value in there and add new values.
My thought is that I simply pull out the old value with a select statement and tack on the new ones and then stick them pack in/update them.
Thanks again for the assist.
-
Apr 15th, 2002, 10:45 AM
#3
Thread Starter
Lively Member
doh!
Turns out my read function was a little screwy so it wasnt returning the values as it should. Anyways its fixed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|