...supponendo che siano di lunghezza identica... dovresti aggiungere dei controlliCodice PHP:
$f = 'titolo.txt'; $t = file($f)
$f = 'secondotesto.txt'; $d = file($f);
foreach ($t as $i=>$r) {
list($j, $s) = each($d);
print "TITOLO = $t, DESCRIZIONE = $s".'
';
};