Hi,
ich habe eine Funktion, die einen Datenbankeintrag macht und dann zur Ursprungsseite zurückleiten soll. Leider klappt das nicht.
return "Eintrag OK";
header("Location:http://www.meinedomain/test/tests.php");
Mittels return verlaesst du die Funktion, nachfolgender Code innerhalb dieser wird also nicht mehr ausgefuehrt.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“