최신글 뽑아와서 링크를 걸었는데 없는 페이지라고 나와요
<tr height='26'>
<td width='120'>
<a href='../gnuboard4/board.php?bo_table=notice&wr_id=$info_list[wr_id]' target='main'>
$info_list[wr_subject]
</a></td>
</tr>
위에께 소스 입니다.
링크를 걸었는데 자꾸 없는 페이지라고 나오네요..
어느부분을 수정을 해야 하나요?
<td width='120'>
<a href='../gnuboard4/board.php?bo_table=notice&wr_id=$info_list[wr_id]' target='main'>
$info_list[wr_subject]
</a></td>
</tr>
위에께 소스 입니다.
링크를 걸었는데 자꾸 없는 페이지라고 나오네요..
어느부분을 수정을 해야 하나요?
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 1개
html안에서 php 변수등을 사용하실 때는 <?=$변수명?> 형식으로 사용해 보세요.
위의 구문을 바꾸어보면..
<tr height='26'>
<td width='120'>
<a href='../gnuboard4/board.php?bo_table=notice&wr_id='<?=$info_list[wr_id]?>' target='main'>
<?=$info_list[wr_subject]?>
</a></td>
</tr>
이렇게 되겠네요.