Storing data in PHP
Storing data in PHP
How do you stole data in PHP over time of a session ,preferably not using a DB? IE I want to be able to have the user "spin" the game, and based on the last spin results, the results for this spin are effected. Sorry if that's unclear, lol.
Re: Storing data in PHP
You can use session variables
http://php.about.com/od/advancedphp/ss/ ... ions_2.htm
Is that kind of what you are talking about?
http://php.about.com/od/advancedphp/ss/ ... ions_2.htm
Is that kind of what you are talking about?
Re: Storing data in PHP
OldRod wrote:You can use session variables
http://php.about.com/od/advancedphp/ss/ ... ions_2.htm
Is that kind of what you are talking about?
Yup, thanks. Would I just make like year1, year2, etc. as a variable to keep all of them stored? I assume so