Because it is The configuration file configures multiple database links, so the database must be dynamically linked when executing statements.
Because I linked the library once and then paid a variable $db, the data of enterpriseData was not cleared after executing the first insert statement, and then executed the second When inserting the insert statement, TP merged the enterpriseData data into memberData. This resulted in an error being reported when retrieving the insert statement and finding that there were no fields in enterpriseData in the table! ! !
Solution:
Every time the insert statement is executed, a dynamic link library is required, so that the data of the last execution will be cleared.
If you change it to this, there will be no problem.