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

How can we submit from without a submit button?

964


How check variable is set or not in php?

818


What does $_server means?

921


Tell me how can we change the maximum size of the files to be uploaded?

929


Define object-oriented methodology?

976


What is new keyword in php?

897


What is namespace and use in php?

933


What is substr in php?

966


What is the use of hooks?

903


Why constructor is not overridden?

920


What is the Pipe Symbol represented?

1022


How to find the index of an element in an array php?

929


What is the function file_get_contents() useful for?

883


Which is the latest version of php?

1053


How to get the number of characters in a string?

975