Hi!
i have this:
write($fp,"\n\n\n\n" . " " . "$dossier" . " ");
fwrite($fp," " . "$mois" . "/" . "$jour" . "/" . "$annee" . "\n\n\n");
fwrite($fp," " ."$client" . "\n\n");
fwrite($fp," ". "$contact"."\n\n");
fwrite($fp," " . "$description" . "\n\n\n");
fwrite($fp," " ."$diapositives" . " ". "$disquettes" . "\n\n");
fwrite($fp," " ."$reflexion" . " " ."$megs_44" . "\n\n");
fwrite($fp," " ."$illustrations" . " " ."$megs_88" . "\n\n");
fwrite($fp," " ."$negatifs" . " " ."$megs_200" . "\n\n");
fwrite($fp," " ."$positifs" . " " ."$zip" . "\n\n");
fwrite($fp," " ."$epreuve_couleur". " " ."$jaz" . "\n\n\n");
fwrite($fp," " ."$bleu" . " " ."$disque_optique" . "\n\n");
fwrite($fp," " ."$velox" . " " ."$cdrom" . "\n\n");
fwrite($fp," " ."$laser" . " " ."$megs_135" . "\n\n\n\n");
fwrite($fp," " . "$autres[0]");
fclose($fp);
My problem is with the last line of code : fwrite($fp," " . "$autres[0]");
$autres is a string. When i print the file without : fwrite($fp," " . "$autres[0]");
everything is fine.
BUT! When i want to print the WHOLE file! including : fwrite($fp," " . "$autres[0]");
The output is not normal! i only have 3 lines printed on the sheet!
Any ideas?