그누보드5 기본쿼리

· 8년 전 · 3393

그누보드에서 별도 쿼리 작성시 가장 기본으로 쓰는 쿼리 올려봤습니다.
<?
$que = "select * from {$write_table} where wr_is_comment = 0 order by wr_num desc, wr_reply desc limit 1";
$row = sql_fetch($que);

$que = "select * from g5_member where mb_level=10 order by mb_1 asc";
$res = sql_query($que);
$count = mysql_num_rows($res);
while ($row = sql_fetch_array($res)){
?>

|
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
jQuery
[jQuery]
8년 전 조회 1,891
JavaScript 8년 전 조회 2,968
jQuery
[jQuery]
8년 전 조회 1,697
jQuery 8년 전 조회 1,934
jQuery 8년 전 조회 2,036
jQuery 8년 전 조회 1,818
jQuery 8년 전 조회 1,876
jQuery
[jQuery]
8년 전 조회 1,566
jQuery 8년 전 조회 2,179
jQuery 8년 전 조회 2,646
jQuery
[jQuery]
8년 전 조회 1,915
jQuery 8년 전 조회 1,602
jQuery
[jQuery]
8년 전 조회 2,057
jQuery 8년 전 조회 5,634
기타 8년 전 조회 3,394
jQuery
[jQuery]
8년 전 조회 1,765
jQuery 8년 전 조회 1,936
jQuery 8년 전 조회 2,042
PHP 8년 전 조회 5,367
node.js 8년 전 조회 4,373
jQuery 8년 전 조회 2,420
jQuery 8년 전 조회 1,867
jQuery 8년 전 조회 1,423
jQuery 8년 전 조회 2,149
jQuery 8년 전 조회 1,634
jQuery 8년 전 조회 1,755
jQuery 8년 전 조회 1,965
jQuery 8년 전 조회 2,216
jQuery 8년 전 조회 1,747
jQuery 8년 전 조회 1,679