Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   globally accessing variable in php (http://www.go4expert.com/forums/globally-accessing-variable-php-t3847/)

deepakagrawal 13Apr2007 11:10

globally accessing variable in php
 
Hello,
I am deepak, i am desiging a website on php, so on can i make a variable in such a way so thai i can access that variable on other file, such as when we declare a extern variable in 'c' and we can access on other file ....
So pls tell me can i do same as on "php".
Thanks

shabbir 13Apr2007 11:19

Re: globally accessing variable in php
 
use the global $Varname and you will get the variable in the other file


All times are GMT +5.5. The time now is 03:06.