Exporting query data to CSV using Firebird (Interbase) and PHP

Views: 1.594
Reading Time: 2 minutes

Staff,
Good evening.

Today I come with another cool news for you that I am using in a project where I need to create an integration between two systems, one local and another on the web: exporting data to a CSV file. This class is very similar to the one I showed this post, except that we are now exporting data from a Firebird (Interbase) database.

For that, I created a class containing the function that we will use, available on this link.

Example of use:

And that will generate a file with the following:

And that's it, guys! To the next!

For those who do not want to download the class, follow the code below: