[development] How Can I Set ang Get Variables
drupal at f2s.com
Thu Nov 9 11:45:17 UTC 2006
define("MYVARNAME", 'some name');
and then everywhere else.....
$x = variable_get(MYVARNAME, MYVARDEFAULT);
I need to know how can I Set and Get variables in Variable Table...
As I don't want to use Hard Coded names, because I have to use It more
than 1 time in my module.
I want to use variables to be Set In variable table once and then to Get
DataBase Server Name
Directories Name etc..
Please tell me a way to solve this...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development