Is it possible to create a variable, set its value through a webpage and make it accessible from code in other webpages?
If yes, how is this done in PHP?
Will the variable have a life time in memory if it is not used for a long time?
Advertisement
Answer
- Use session or cookie varibles (or)
- declare in common file (or)
- Try global variables (or)