Sets a variable value. The function can be used either like setVariable("varname", "value") or with one array $variables["varname"] = "value" given setVariable($variables)
variable name or array ('varname'=>'value')
variable value if $variable is not an array