Writing to a specific CSV column - Please help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
slunceford
Forum Newbie
Posts: 1
Joined: Wed Sep 27, 2006 8:05 pm

Writing to a specific CSV column - Please help

Post by slunceford »

Hello.

I'm a novice at PHP. I'm using the following code to write a Flash-based form field entry to a CSV file:

$file_location = "subscribers.csv";

It works fine, except for two things:

(1) I'd like it to write the entry to column N in the CSV (the 14th column from left) instead of column A (the first column) and...
(2) It prints an unwanted percent character (%) in front of the text entry (e.g., %thisisanentry@helpanovice.com)

Could you provide some input on either or both of these dealies?

Thank you!

-Scott
Post Reply