Re: Re: [PHP] How to delete a line in a TXT-file

2003-06-04 Thread poetbox
Jason Wong,您好! Thank you,Mr. Jason Wong,I think what you said is below.If not,tell me the right way,ok? =filename:edit.php===(still have ERRORs)=begin==> "; for($i=0;$i<$num;$i++) { echo "".$news[$i]." DELETE THIS LINE"; if((

Re: Re: [PHP] How to delete a line in a TXT-file

2003-06-04 Thread poetbox
Jason Wong,您好! As you know,I'm a newbie in PHP,I tried your way last night,but to my surprise,it do nothing for any way,it didn't delete any line in the TXT-file,even the file "outputfile.txt" indeed! Perhaps it because that I haven't understand your thought and absolutely copy your words to th

Re: Re: [PHP] How to delete a line in a TXT-file

2003-06-03 Thread poetbox
Jason Wong,您好! Let me go back to have a try,thank you very much!:) Some people told me to use unset(mixed var [,mixed var [,...]]) to delete it ,but I cannot understand anything about it . === 2003-06-03 16:04:00 :=== >On Tuesday 03 June 2003 11:11, poetbox wrote: > >> I'