Hi,
> What is the best way to delete line from a file?
>
> I want to delete line which is located somewhere in the middle of the
> .txt file.
> I dont want to leave blank line.
Well, pretty much the only way to do that is to copy the data line by line
to another file, skipping the unwanted line. Then, replace the old file
with the new. Slow, but it works.
--
.-. Chris Boot
/v\ [EMAIL PROTECTED]
// \\
/( )\ L I N U X
^^-^^ >Phear the Penguin<
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]