Quote:
Originally Posted by fallenmuffin
PHP to the rescue
Code:
$file1 = @file("letters.txt");
$file2 = @file("numbers.txt");
for ($x=1;$x<count($file1);$x++) {
$output[] = $file1[x] . $file2[x];
}
|
1. error suppression sucks.
2. Count the array items FIRST, not within your for loop