Getting idea's on how to do something

Permabanned
Joined
25 Oct 2004
Posts
9,078
I'm currently creating an addon for a site i've been working for a while now and im trying to implement a feature but im not entirely sure on how I should go about it.

Basically what Im trying to figure out is how to collate data supplied by a user.

The addon is used to generate CSV files for bulk uploading of data, it collates data 1 row at a time and then packages it up in a zip file for use by something else.

Collecting the initial row of data is no problem thats easy, but how would I go about collecting it sequencially, row after row for a user. Bare in mind that this addon will be used by potentially hundreds of people and once the zip file is create needs to be flushed from the system.
 
Can you be more specific about the requirements?

Which language are you developing in?

I would be happy to help you with if you are developing in asp.net OR php.
 
PHP, basically the idea is, I have a form with collects data and stores the forms data as a sequenced field in an sql database.

What im looking to do though is allow the user to either just submit the form after filling it once, or continue on to fill it in again and again until they finally click on the submit button at the end of the form.

As the data is stored as a sequenced array in the database, im guessing i will need to have the inital array as array[0] and any subsequant data stored sequencially in array[1], array[2] etc etc.

Once that they click on the submit button that data is then fed through a loop and output as a CSV file and depending on options selected compressed into a zip/gzip file ready for submission.
 
Back
Top Bottom