How I use global variable in another page without using
$_GET method?
Answer Posted / minnie
The above answer is wrong.
U can use that in any function in any class.
In which function u need to use global variable, do the
following:-
global $testVariable;
Now u can this variable in the current function
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain some of the php array functions?
What is the difference between query and inquiry?
What is the use of php and mysql?
Why do we use csrf token?
Tell me how can we change the maximum size of the files to be uploaded?
What is the major php security hole? How to avoid?
How do you remove duplicates from an array?
What is new static in php?
How do you destroy a particular or all Sessions?
How to compare two strings with comparison operators in php?
How do I escape in php?
How is session data stored?
Write a program using while loop in php?
What is overloading in php?
How easy is php?