View Single Post
Old 12-31-2002, 01:16 AM  
MonkeyMan
So Fucking Banned
 
Join Date: Dec 2002
Location: New York.... Not the city... Up north further. Its about a six hour drive to the city from here. I don't like the city much. The air is not as clean, but they do have better strip clubs.
Posts: 1,026
Quote:
Originally posted by Nat
MonkeyMan: em, help?

Parse error: parse error in /home/html/index.php on line 5

ooops
on this line add the ;

$length = 1000;


and make shre you replace "(APPROX FILE LENGTH)"
with a number


you should have

PHP Code:
<?php 
$length 
1000;
$fa file("file1.txt");
$fb file("file2.txt");
for(
$x=0$x<$length$x++)
{
echo 
$fa[$x] . $fb[$x] ."\n";
}
?>
but if the files are longer than 1000 lines increase that number.

Last edited by MonkeyMan; 12-31-2002 at 01:19 AM..
MonkeyMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote