I figured that <!-- MAIN --> and <!-- ENDMAIN --> may contain some text that should be replaced by the form. The second loop just skips over all of that.Read and print from TEMPLATE until <!-- MAIN -->. Read but don't print from TEMPLATE until <!-- ENDMAIN -->. Read and print everything from FORMTEMPLATE. Read and print everything that's left from TEMPLATE.
In reply to Re: Re: Re: Mixed-up output
by chipmunk
in thread Mixed-up output
by Nimster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |