염치없이 한번더 여쭙습니다. 채택완료
그제 균이님께서 알려주신 방법인데요. 균이님께 다시한번 감사드립니다.
이것만 있으면 쉽게 될줄 알았는데 그게 아니더군요.
A , B , C , D , .... 출력단어 하나하나에 링크를 걸어주고 싶은데 아무리 연구를 해봐도 안되네요..ㅠㅠ
(A 를 클릭하면 A에 대한 검색이 되게끔 하는게 목표입니다.)
염치없이 다시한번 부탁 드립니다.
새해 복 많이 받으세요.
</strong><span style="font-size: 10pt; line-height: 1.5;"></span></p><p><?php</p><p>$result = sql_query("select wr_2 from $write_table group by wr_2 order by wr_2");</p><p>while($row=sql_fetch_array($result)) {$str.=$deli. $row[wr_2]; $deli=' , '; }</p><p>echo $str;</p><p><span style="font-size: 10pt; line-height: 1.5;">?> </span></p><p><strong style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 21.6000003814697px; background-color: rgb(255, 255, 255);">
답변 1개
$deli = '';
$result = sql_query("select wr_2 from $write_table group by wr_2 order by wr_2");
while($row=sql_fetch_array($result)) {
$str.=$deli. '<a href="board.php?bo_table='.$bo_table.'&sfl=wr_2&stx='.urlencode($row[wr_2]).'">'. $row[wr_2] .'</a>';
$deli=' , ';
}
echo $str;
답변에 대한 댓글 2개
올 한 해 많은 발전이 있을듯 합니다. 화이팅하세요~!
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
이 몇줄로 많은걸 배웠네요.
새해 복 많이 받으세요.