oracle765 Posted January 28, 2014 Share Posted January 28, 2014 Hi Professionals I am trying to extract data between two points so I can write this to another file what I am looking to do is take everything between ### CPU ### and ### Services ### I can echo the string out to screen oj but the function I call just produces a blank screen, any ideas here is the php and the file linefeeds1backupKPMG.php HSDWWW01QUA.txt Link to comment https://forums.phpfreaks.com/topic/285753-extract-data-between-two-points-from-a-file/ Share on other sites More sharing options...
requinix Posted January 28, 2014 Share Posted January 28, 2014 http://forums.phpfreaks.com/topic/285731-split-file-into-seperate-files/ Link to comment https://forums.phpfreaks.com/topic/285753-extract-data-between-two-points-from-a-file/#findComment-1466884 Share on other sites More sharing options...
oracle765 Posted January 29, 2014 Author Share Posted January 29, 2014 yes I did that and wrote a function but it does not work Link to comment https://forums.phpfreaks.com/topic/285753-extract-data-between-two-points-from-a-file/#findComment-1466885 Share on other sites More sharing options...
requinix Posted January 29, 2014 Share Posted January 29, 2014 Then you should have mentioned that. In the other thread. Instead of making another thread for it. Link to comment https://forums.phpfreaks.com/topic/285753-extract-data-between-two-points-from-a-file/#findComment-1466889 Share on other sites More sharing options...
oracle765 Posted January 29, 2014 Author Share Posted January 29, 2014 sorry didn't realise, do you want me to delete this thread and post in other thread Link to comment https://forums.phpfreaks.com/topic/285753-extract-data-between-two-points-from-a-file/#findComment-1466891 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.