I have two html files one is a template with certain data
that must be transferred to the output file and the other file is also an html
file which contains the most data that must be transferred to the same out put
I have tried to write from both files to the output file inside two loops. The outer
loop reads from the template file and the inner loop reads from the input file
and writes to the output file. My
problem is the inner loop for some reason does not loop through the input file
for each iteration of the outer loop.
One file has 235 lines of records and the second file has
148 lines. The total looping that the two loops have to go through must be 235
x 148 which is about 34780 loops. But
mine has only 235 + 148 which is about 383.