manipulating flat file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

mynmonic
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong
Contact:

manipulating flat file

Postby mynmonic » Mon Feb 24, 2003 10:24 am

I save some data on a flat file, not much data but updates even. I read the book it teachs me only appending new data to a file, or unlink the whole file. In fact I need to somehow delete some elements of and REALLY need to edit them frequently.

So when I access the data in the flat file using array, how can I perform editing of the array elements?

Please help

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: manipulating flat file

Postby WiZARD » Tue Feb 25, 2003 5:15 am

If youre file have a ual info like passwd you may load it like array.... and manage :^)

mynmonic
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong
Contact:

Postby mynmonic » Tue Feb 25, 2003 8:38 am

ual info? what's that? any website or document I can read about it? thanks


Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 1 guest