Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   Extern variable is in php or not (http://www.go4expert.com/forums/extern-variable-php-t3852/)

deepakagrawal 13Apr2007 18:08

Extern variable is in php or not
 
hello,
i am deepak, and i want to know there is extern variable in php or not, or if yes so how can i achive that.
thanks

shabbir 13Apr2007 19:41

Re: Extern variable is in php or not
 
All variables are by default global and they are available from the point of declaration to any other file that is after the declaration but if you have some function or class you need to redeclare the variable in that class by the global keyword.


All times are GMT +5.5. The time now is 08:37.