Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What software is required for php?

1035


What is csrf cookie?

918


Explain what are the different errors in php?

992


How do you trim spaces in excel?

1024


What is the use of curl()?

1067


What is the default time in seconds for which session data is considered valid?

1125


How many different types of messages available in php?

1000


Can php variables have numbers?

1002


How can we execute a php script using command line?

1048


Is php a float?

1019


What is instantiation?

2214


Which is not a file-related function in php?

1045


Why do we use csrf token?

946


Can we extend multiple classes in php?

1036


Does php support multiple inheritances?

1002