I've got a problem with my headers, when i put this:
<a href='?p=Winkelmand&BID=".$row['BID']."&ProductID=".$row['ProductID']."&Actie=Vermeerderen'><span class='glyphicon glyphicon-plus'></span></a>
In my code it starts giving me errors when i add something to my shopping cart...
this is the warning:
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Snackbar\Design\Pages\Head.php:117) in C:\xampp\htdocs\Snackbar\System\Pages\Winkelmand.php on line 81
Line 117 in Head.php:
print("<td><a href='?p=Winkelmand&BID=".$row['BID']."&ProductID=".$row['ProductID']."&Actie=Vermeerderen'><span class='glyphicon glyphicon-plus'></span></a> ".$row['Aantal']);
Line 81 in Winkelmand.php:
header("Location: ?p=Producten");
The weird thing is when i remove the then it works just fine and sends me to the page i requested with the header...
Thanks in advance