[求助]帮我看看这是什么报错啊~~ |
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\www\dg.php:3) in C:\www\dg.php on line 5
代码[dg.php]
<?
session_start();
if(!session_is_registered("product"))
{
$product="";
session_register("product");
}
if (trim($sp1)!="") $product.=$sp1.",";
if (trim($sp2)!="") $product.=$sp2.",";
if (trim($sp3)!="") $product.=$sp3.",";
echo $product;
?>
<p><a href="index1.htm">继续购物</a> <a href="sy.php">去收银台</a> |
|
|