dobra, ważne że już działa, ehhh drugi problem:
<?
$chrz1 = fopen("chrz.txt","w");
fwrite($chrz1, $chrz2);
fclose($chrz1);
//
$zyd1 = fopen("zyd.txt","w");
fwrite($zyd1, $zyd2);
fclose($zyd1);
//
$muz1 = fopen("muz.txt","w");
fwrite($muz1, $muz2);
fclose($muz1);
//
$ate1 = fopen("ate.txt","w");
fwrite($ate1, $ate2);
fclose($ate1);
//
$bud1 = fopen("bud.txt","w");
fwrite($bud1, $bud2);
fclose($bud1);
//
echo $chrz2;
echo $zyd2;
echo $muz2;
echo $ate2;
echo $bud2;
?>
czemu nie wyświetla nic?