fgetcsv() on string?

From: Joe Randstein (javawocky_at_hotmail.com)
Date: 04/30/04


Date: 30 Apr 2004 10:06:06 -0700

Hi!
I get CSV-data from a post-request. How can I work on that?
Currently I save the data to a temp-file, then read it back with
fgetcsv and then delete the temp-file. That works, but I don't really
like it ...
Is there a way to directly parse the CSV data from the string (with
php-4.2.4)

Thanks for your answers!



Relevant Pages

  • Re: fgetcsv() on string?
    ... Joe Randstein wrote: ... > fgetcsv and then delete the temp-file. ... Daniel Tryba ...
    (comp.lang.php)
  • Re: fgetcsv() on string?
    ... > fgetcsv and then delete the temp-file. ... _or_ use the csv_explodefunction found at the usernotes of ... http://www.sendmetoindia.com - Send Me to India! ...
    (comp.lang.php)