- <?
- $pillbox=array(
- "erstes",
- "zweites",
- "drittes"
- );
- $i=0;
- $limit=count($pillbox);
- while ($i <= $limit)
- {
- echo $pillbox[$i] \n;
- $i++;
- }
- ?>
Und zwar:
Ein ganz normaler Code, der alles im Array nacheinander aufzählt. (das habe ich jetzt nur als Beispielcode genommen, mein Problem ist nur etwas kleines darin - das Problem existiert bei allen Codes!)
Nun, mein Problem ist Folgendes:
Das \n funktioniert nicht. Es wird stump ein Error angezeigt, dass der Backslash Probleme bereitet. Aber damit mache ich doch in PHP normale Zeilenumbrüche...? Woran könnte das liegen?
Die Errormeldung ist btw Folgende:
Warning: Unexpected character in input: '\' (ASCII=92) state=1
Und nun?
Ich BEDANKE mich für jede Hilfe!
Liebe Grüße, anti. (:
