Hi,
This may not be possible but if I have a PHP page with say 3 sections of text can I create 3 separate files from the larger content? For example:
SECTION1
This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text. This is section 1 text.
SECTION2
This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text. This is section 2 text.
SECTION3
This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text. This is section 3 text.
Is there a way to say find SECTION1 and add content below until SECTION2 as a separate file. Likewise create another separate file for content below SECTION2 and above SECTION3?
Can this be done with PHP. Basically breakdown a large file into smaller files? The application I am using it for is a download of data that appears on one page. But I need the information broken down into separate files.
Thanks for your help.
Matt.