9 Nov
2006
9 Nov
'06
12:45 p.m.
http://uk.php.net/manual/en/function.define.php define("MYVARNAME", 'some name'); define("MYVARDEFAULT", 0); and then everywhere else..... $x = variable_get(MYVARNAME, MYVARDEFAULT); 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