ray
|
Posted: 03/26/2004, 8:55 PM |
|
I create a variable to store a randomly created number in one page. ( using "$random_number=mt_rand();" )
How can I use this variable in another page?
|
|
|
peterr
Posts: 5971
|
Posted: 03/27/2004, 11:55 AM |
|
Each page is run separately, therefore your variables are cleared when a new/different page is opened. You may need to create a session variable instead. The only purpose of Session Variables is to do this (to carry the values across pages).
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|