[edit]
We collect credit application data from users in a web form.
I did not bind my web form directly to QB.
I have no idea what the QB table structure is for this data collection, and how it displays it to the user, because I have never worked directly with QB. However, there are others in my office.
I would appreciate any information on open sources / free options.
I will simplify the problem by removing the first option I want.
Let me just talk about importing a flat file into quickbooks.
I don’t have a copy of the fast books that I can play with, so I have no idea what options are native to fast books, but I see some kind of chatter in the chat that QB is expecting an .ini file to import . (I don’t know what format he expects, but I will get it later)
Share your story if you were able to import a flat file with mySQL into quickbooks or find out links that offer insight (I don't know much now).
[end edit]
I understand that this scenario is probably unusual, but I need to connect to my existing quickbooks database in one of two ways.
1) either directly from the php script running on our website - paste user-provided data directly from the Internet into quickbooks.
or
2) put user data directly into mySQL database, and then export data from mySQL to quick books.
If the first option is viable, I would appreciate your thoughts on establishing an odbc connection to the quickbooks database.
Can I get around this with something like:
try { $conn = @odbc_connect("DSNName", "", "", "SQL_CUR_USE_ODBC"); // un and pw parameters are passed as empty strings since the DSN // has knowledge of the password already. // 4th parameter is optional $exec = @odbc_exec($conn, $insert) or die ("exec error"); echo "success!"; } catch (Exception $e) { echo $e->getMessage(); } // end try catch