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 php parameterized functions.

1039


What is regular expression in php?

1060


How do you check if a variable has been set in php?

1010


What is final keyword in php?

1116


discuss the issue of software theft in ghana and how it has affected the economy

2168


What is a php web application?

1060


How can you send http header to the client in php?

1056


Which function would you use to read a line of data from a file in php?

1077


Why are sessions used?

1009


What's the output of the ucwords function in this example?

1099


What is global array in php?

1124


How to swap two variables without using 3rd temp variable.

962


Does php has a future?

979


Explain what does $_server means?

1123


What should we do to be able to export data into an excel file?

1070