SyntaxFix
Write A Post
Hire A Developer
Questions
For this, you need to declare the variable as global. However, a global variable is also accessible from outside the module by using module_name.var_name. Add this as the first line of your module:
module_name.var_name
global __DBNAME__