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

Explain some of the php array functions?

1063


What is the difference between query and inquiry?

908


What is the use of php and mysql?

1020


Why do we use csrf token?

938


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

970


What is the major php security hole? How to avoid?

982


How do you remove duplicates from an array?

1045


What is new static in php?

983


How do you destroy a particular or all Sessions?

994


How to compare two strings with comparison operators in php?

950


How do I escape in php?

993


How is session data stored?

953


Write a program using while loop in php?

989


What is overloading in php?

991


How easy is php?

940