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
How can we submit from without a submit button?
How check variable is set or not in php?
What does $_server means?
Tell me how can we change the maximum size of the files to be uploaded?
Define object-oriented methodology?
What is new keyword in php?
What is namespace and use in php?
What is substr in php?
What is the use of hooks?
Why constructor is not overridden?
What is the Pipe Symbol represented?
How to find the index of an element in an array php?
What is the function file_get_contents() useful for?
Which is the latest version of php?
How to get the number of characters in a string?