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 php parameterized functions.
What is regular expression in php?
How do you check if a variable has been set in php?
What is final keyword in php?
discuss the issue of software theft in ghana and how it has affected the economy
What is a php web application?
How can you send http header to the client in php?
Which function would you use to read a line of data from a file in php?
Why are sessions used?
What's the output of the ucwords function in this example?
What is global array in php?
How to swap two variables without using 3rd temp variable.
Does php has a future?
Explain what does $_server means?
What should we do to be able to export data into an excel file?