Hi,
I'm just now trying to figure out some ways to resolve this problem and I'm guessing that this is at the root:
If you are trying to use the "advanced form code" on a wordpress page, which includes machform.php, then I suspect the problem is that wordpress' config file conflicts with machform's config file. Both of them happen to use the exactly same PHP definitions for configuring their databases, e.g.
define('DB_NAME','xyz')
define('DB_USER','xyz')
So if wordpress' config gets loaded first, its definitions "win" and override the definitions in machform. The result is that machform tries to look for its data inside of the wordpress DB instead of the machform DB.
At the moment, the only work-arounds I can think of are:
1) As skindu26 suggested, merge both databases into a single database so that their definitions no longer conflict, or
2) Do a global search and replace through the machform code to assign new definition names, e.g.
define('MACH_DB_NAME', 'xyz');
Both are kind of 'bleah' solutions.
Anyone come up with something better?