[development] How Can I Set ang Get Variables

sime info at urbits.com
Thu Nov 9 11:47:13 UTC 2006


Hi Asif

http://api.drupal.org/api/4.7/function/variable_get
http://api.drupal.org/api/4.7/function/variable_set

Asif Naseer wrote:

> Hello,
>  
> 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 them like...
>
> DataBase Server Name
> DataBase Name
> Directories Name etc..
>
> Please tell me a way to solve this...
>
> Thanks
>


More information about the development mailing list