|
Posted by JDS on 10/24/05 21:29
On Mon, 24 Oct 2005 16:06:48 +0200, nescio wrote:
> so my question is: how can i delete a row in a csv file?
The question is, how are you reading, updating, and rewriting to the file?
I recommend using file() to read the file into an array.
Then update the value of the array
Then write the value of the array back out to the file, overwriting the
old file in the process. Use fopen() and fwrite().
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
[Back to original message]
|