Best Way to manipulate a text file.. php ?
I have a tab delimited text file from which i want to compare each successive pair of lines and depending on the result drop one of the lines.
What method would be easiest for this ? I am running RHE Example --------------- a | 10 15 b | 10 13 i want to saw if col2oflineb > col2oflinea { lineb=null; } I’m fairly familiar with php but usually doing this with a database not text files... Any comments would be appreciated Regards Bruce |
here's an example, rather messy but it is late...
Code:
<?php |
Thanks,
Just what i needed. Regards |
All times are GMT -5. The time now is 04:43 PM. |