How to delete line ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
drfeelgood
Forum Newbie
Posts: 15
Joined: Mon Sep 01, 2008 9:57 pm

How to delete line ?

Post by drfeelgood »

Hi,

I have a text file and I want to delete 1 line of the text file.
is there any function in php ?

thx,
User avatar
pcoder
Forum Contributor
Posts: 230
Joined: Fri Nov 03, 2006 5:19 am

Re: How to delete line ?

Post by pcoder »

Look at this example, it will be helpful for you.
http://www.phpro.org/examples/Delete-Li ... -File.html
Post Reply