How to declare a variable in PHP that does not clear on refresh?

Charlie N

New member
Hi guys

How do i declare a variable in PHP that goes not clear on refresh of the page or call to the server?
I understand that the variables are automatically "FormState"

But i want one that remebers its value on refresh of the page
Is this done through 'persistance' or 'cache' or some other ways?

thanks alot
 
Back
Top