UBB.Dev
Posted By: ultimategamer2k open multiple files - 01/01/2001 4:35 AM
would this be right, or is there a better way to do it

open(UPDATE1 "update1.txt");
while($update1 = )
{
open(UPDATE2 "update2.txt");
while($update2 = )
{
open(UPDATE3"update3.txt");
while($update3 = )
{
print <$update1
$update2
$update4
mainHTML
}
}
}
close UPDATE1;
close UPDATE2;
close UPDATE3;

------------------
check out my site at http://www.ultimategamers2000.com
Posted By: Dave_L Re: open multiple files - 01/01/2001 5:01 AM
Could you provide a description of what your code is intended to do?

For example, do each of the files contain the same number of lines, and you want to print the first line of each file, then the second line of each file, etc.?
Posted By: ultimategamer2k Re: open multiple files - 01/01/2001 5:10 AM
no, they all contain a different amount of lines, i want to print them in a table

------------------
check out my site at http://www.ultimategamers2000.com
Posted By: ultimategamer2k Re: open multiple files - 01/02/2001 7:36 AM
nevermind
i figured it out :-)

------------------
check out my site at http://www.ultimategamers2000.com
© UBB.Developers