Hallo mustino,
if($_POST[bestellung]){
hast du eine Konstante 'bestellung' definiert oder meinst du $_POST['bestellung']? (siehe: Doku/Arrays)
header('Location: testshop4.php?PHPSESSID=$sessnum');
hinter 'Location:' muss eine vollständige URI stehen.
Warning: Cannot add header information - headers already sent by (output started at /mnt/ja1/03/288/00000006/htdocs/Server/test3.php:9) in /mnt/ja1/03/288/00000006/htdocs/Server/test3.php on line 91
PHP-FAQ, 28.13. Warning: Cannot add header information - headers already sent ...
Grüße aus Nürnberg
Tobias