473,396 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

php libraries for exporting to quicken?

Hi,

I have a client that wants to export his sales data into formats that
can be imported into Quicken. Figured this kind of thing has been
tackled before, but had trouble finding freeware on Google. Any
suggestions on libraries/code to use when using PHP 4/MySQL 4 to export
data to Quicken file formats (preferrably CSV).

Thanks, - Dave

Mar 12 '06 #1
4 1994

la***********@zipmail.com wrote:
Hi,

I have a client that wants to export his sales data into formats that
can be imported into Quicken. Figured this kind of thing has been
tackled before, but had trouble finding freeware on Google. Any
suggestions on libraries/code to use when using PHP 4/MySQL 4 to export
data to Quicken file formats (preferrably CSV).

Thanks, - Dave


Turning a table into a CSV is easy:

$f = fopen('mycsvfile.csv', 'w');
$query = 'select * from someTable';
$rs = mysql_query($query);
while ($row = mysql_fetch_array($rs, MYSQL_NUM))
fwrite($f, implode(', ', $row) . "\n");
fclose($f);

Mar 12 '06 #2
NC
la***********@zipmail.com wrote:

I have a client that wants to export his sales data into formats that
can be imported into Quicken. Figured this kind of thing has been
tackled before, but had trouble finding freeware on Google. Any
suggestions on libraries/code to use when using PHP 4/MySQL 4
to export data to Quicken file formats (preferrably CSV).


If you are comfortable with CSV as data interchange format (i.e., if
there is no requirement to produce IIF files), it's very easy to
produce in MySQL, with or without the use of PHP. Just run a SELECT
INTO OUTFILE query or output results of your SELECT query as CSV...

Cheers,
NC

Mar 13 '06 #3
Thanks for these replies. I didn't mean to imply that I don't know how
to produce CSV files. My actual question centered around Quicken
specifically. I am unfamiliar with its file formats or what data
comprises a valid import. Could you post or point me to code that
would do that?

Thanks, - Dave

Mar 13 '06 #4
NC
la***********@zipmail.com wrote:

I am unfamiliar with its file formats or what data comprises
a valid import.
You should read Quicken documentation; I seem to remember that it was
helpful. I managed to produce valid Information Interchange Files
(IIF) based entirely on information found in Quickbooks oline help and
on Intuit's Web site...

Also, you could try some primitive reverse-engineering. Export some
data from Quicken (the kind of data you want to import; in your case,
sales) into CSV and see what the format is. Then use the exported file
as a template.
Could you post or point me to code that would do that?


No; last time I worked with IIF was about four years ago... I can help
you figure it out if you want to though...

Cheers,
NC

Mar 13 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bhom | last post by:
I am trying to create a grid on a form that looks like the 'Split Transaction' grid in Quicken - it allows drop down controls in various cells of grid to make a selection, and then stores the text...
3
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works...
5
by: Glenn Davy | last post by:
Hi all I'm wanting to build some 'libraries' of functions and classes that I can share around between various front ends which all share a common backend. I realise from the archives, that this...
2
by: Henk | last post by:
Hi, Is it possible to use c++ libraries in my VB.NET application?
4
by: John Wright | last post by:
I posted this once before without any answers so I am trying again. Does anyone know of or have code that will parse Quicken files? I am writing a program that will parse quicken files, pull the...
1
by: simpleinventor | last post by:
My dad has an old real-estate managing program he's been using since windows 3.11. It has a lot of .dbf and .ntx files, so research suggests that this program was written in XBase. He just recently...
2
by: bienwell | last post by:
Hi, I have a question about exporting data from datagrid control into Excel file in ASP.NET. On my Web page, I have a linkbutton "Export data". This link will call a Sub Function to perform...
1
by: UJ | last post by:
I need to add to my app a calendar where I can list events that are to take place. Much like Quicken's calendar. Is there an easy way to do this or do I have to do it manually. I don't have a clue...
3
by: onkar | last post by:
how do I get rid of exporting LD_LIBRARY_PATH (to get rid of " error while loading shared libraries") while compiling it self in the Makefile. how to incorporate some kind of export statement...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.