![]() |
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 |
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 20:24. |