Re: [PHP] fgetcsv or other

2002-10-12 Thread @ Edwin

Hello,

Just remember that fgetcsv() returns an array. So the first column is

  $thearray[0];

You can just pass it to the function that generates the image BEFORE you go
to the next line of your csv file.

Or, am I missing something?

- E

On Saturday, October 12, 2002 2:05 AM
Bryan Koschmann wrote:

 Hi,

 I need to read from a csv file (with quotes). I use the example from the
 manual, and it does spit it out how I want it, but I need to access one of
 the fields and pass that data to something else.

 So it's like this, I need my csv file to be displayed in a table, but the
 last column will contain an image generate using data from the first
 column.

 Does anyone have any examples? I've been searching the net, but haven't
 really found much.

 Thanks!

 Bryan


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] fgetcsv or other

2002-10-11 Thread Bryan Koschmann - GKT

Hi,

I need to read from a csv file (with quotes). I use the example from the
manual, and it does spit it out how I want it, but I need to access one of
the fields and pass that data to something else.

So it's like this, I need my csv file to be displayed in a table, but the
last column will contain an image generate using data from the first
column.

Does anyone have any examples? I've been searching the net, but haven't
really found much.

Thanks!

Bryan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php