i have one function name deleteCookees that have this error message Warning: Cannot add header information - headers already sent by (output started at /home/reymond/html/phpreport/lagi.php:4) in /home/reymond/html/phpreport/delete.inc on line 10 the script
<? function deleteCookies() { for ($i=0; $i<$total_items; $i++) { setcookie("items_tray[$i]",""); setcookie("quantity[$i]",""); } setcookie("items_tray",""); setcookie("total_items",""); setcookie("quantity",""); } ?> could anybody tell me why this happen and howto fixed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php