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
Why do we use php?
What is the best php version for wordpress?
Can you convert php to html?
Is age interval or ordinal data?
List few sensible functions in PHP?
What does it mean when it says the csrf token is invalid?
What is different types of visibility?
What is composer phar?
Why does sql injection happen?
Which MySQL function would you use to select a database?
What is php built on?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What is sticky form in php?
What is the delimiter syntax is PHP's default delimiter syntax
What is the use of hooks?