view_comment.skin에서 write_comment_update로 댓글을 넘겨주는부분 질문있습니다.
본문
view_comment.skin 에서
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
<input type="hidden" name="comment_id" value="<?php echo $c_id ?>" id="comment_id">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="spt" value="<?php echo $spt ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="is_good" value="">
이부분을 write_comment_update로 넘겨주는데
실제로 받아서 사용하는 변수는
$w = $_POST["w"];
$wr_name = trim($_POST['wr_name']);
$wr_email = '';
if (!empty($_POST['wr_email']))
$wr_email = trim($_POST['wr_email']);
w, wr_name, wr_email 인데
view_comment.skin 에서 보면 w는 있는데 wr_name, wr_email은 넘겨주는값에 없는데 뭐죠?...
그리고 view_comment.skin에서 몇가지 변수를 막 쓰는데 어느 파일에서 include가 된거죠?..
질문이 너무 난잡하네요.. 익혀가는 과정이라 그러니 양해부탁드려요