Kris: PHP Redirect ?

Beitrag lesen

Ahoi Kris,

aber ich hab halt kA wie der Befehl zum zurückspringen bzw. zu einer Seite springen ist :/

header("Location: script.php");
fertig.

MfG

19 <?
20 $tt=0;
21 for ($t=1;$t<=sizeof($reihe2);$t++) {
22           if ($cb[$t] == $t or $ta[$t] != "") {$tt = 1;}}
23 if ($tt == 0) {header("Location: v2_proggie.php");}
24 ?>

hab ich probiert ...
raus kommt :

Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx/xxx/xxx/v2_proggie_2.php:11) in /xxx/xxx/xxx/xxx/v2_proggie_2.php on line 23

geht nun
hatte folgenden vergessen :

Da darfst Du aber bis dato nichts gesendet haben (fastix)

:)