reply.php(용来回复主题)
疑难问题 if (!$cook_user)
{echo "";}
else {include ("connect.inc.php");
$query = "user='".$cook_user."' 및 비밀번호='".$cook_password."'"인 my_user에서 *를 선택하세요.";
$res = mysql_query($query);
if (!$res)
{echo "<스크립트 언어='javascript'>";
echo "parent.location.href='index.php'";
echo "";}
include "connect.inc.php";
if ($content) {$c ( "'","mysinglequotes",$content);
$c
$c
$query = "방명록에 삽입(이름,유형,콘텐츠,아이콘,time_open,time_close,answer_count,answer_name,main_id) VALUES('".$cook_user."', 0,'".$content."',".$icon.",now(),now(),1,'".$cook_user."',".$theme_id.")";
$res = mysql_query($query);
if ($res)
{$query = "update guestbook set time_close=now(),answer_count=answer_count 1,answer_name='".$cook_user."' where id=".$theme_id;
$res = mysql_query($query);
if ($res)
{echo "<스크립트 언어='javascript'>";
echo "parent.location.href='post_end.php'";
echo "";}}}}
?>