Re: fgetcsv or other

From: Date: Sat, 12 Oct 2002 11:41:31 +0000
Subject: Re: fgetcsv or other
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119730@lists.php.net to get a copy of this message
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 >

« previous php.general (#119730) next »