报这个错Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
<code>echo "<script>history.go(-1);location = 'blog3.php?id=$_POST['reid']';</script>";</code>
报这个错Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
<code>echo "<script>history.go(-1);location = 'blog3.php?id=$_POST['reid']';</script>";</code>
<code>echo "<script>history.go(-1);location = 'blog3.php?id=".$_POST['reid']."';</script>";</code>
楼上正确答案。