Proper way to reference tables of other modules?
Posted: Wed Mar 21, 2007 5:00 pm
What is the proper way to reference a table from another module? For example, from within the NMS module, how would I properly reference the FEU propdefn table?
I guess the following could potentially lead to problems:
SELECT * FROM ".cms_db_prefix()."module_feusers_propdefn ORDER BY prompt
I can't imagine that module table names get changed that often, certainly not by normal installs.
Tim
I guess the following could potentially lead to problems:
SELECT * FROM ".cms_db_prefix()."module_feusers_propdefn ORDER BY prompt
I can't imagine that module table names get changed that often, certainly not by normal installs.
Tim