Einzelnen Beitrag anzeigen
Alt 17.06.2004, 08:35   #2
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

Probier mal:
PHP-Code:
for (i=0;i<sizeof($schule);i++){
   if(
$i==5){ 
    
$string.=" \$HauptPfad=".$_POST["fservpath"].";\r\n"
   } else { 
    
$string.=chop($schule[$i])."\r\n"
    
$i++; 
   } 
Chop entfernt Leerzeichen, zeilenvorschübe, etc.
\r\n sorgt für "Windows-Zeilenvorschübe" (CRLF)

Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten