I'm sorry, but I don't understand what you're doing there and why. It would maybe help me help you better if you could tell me the big picture view of things, that is, what goal you are trying to achieve with this program. If all you want to do is accumulate data and then store it in the database, maybe an array is what you want, or possibly just a scalar to which you append new information as it becomes available. See the join function for how to convert an array to a scalar.
| [reply] |
I want to get the cc and al the filenames of the attachments that are in an E-mail into 1 cel of a database. and with my example E-mails I know how much attachments are in it, but when I'm gonna use it I don't know before, so I thought: i write all the cc's and filenames to a file which I can read after that so I can get the text of it and print it into the database. that is it at the moment, there is more to be done, but that is work for later to me.
| [reply] |
You don't "print" things into the database, and why are you writing all that information to a file, just to read that file in again right afterwards? Just append all the data to a string, and then insert that string into the database. Where exactly are you having problems?
| [reply] |