그누보드5 기본쿼리

· 8년 전 · 3387

그누보드에서 별도 쿼리 작성시 가장 기본으로 쓰는 쿼리 올려봤습니다.
<?
$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,885
JavaScript 8년 전 조회 2,961
jQuery
[jQuery]
8년 전 조회 1,690
jQuery 8년 전 조회 1,927
jQuery 8년 전 조회 2,027
jQuery 8년 전 조회 1,813
jQuery 8년 전 조회 1,870
jQuery
[jQuery]
8년 전 조회 1,562
jQuery 8년 전 조회 2,174
jQuery 8년 전 조회 2,640
jQuery
[jQuery]
8년 전 조회 1,911
jQuery 8년 전 조회 1,596
jQuery
[jQuery]
8년 전 조회 2,054
jQuery 8년 전 조회 5,631
기타 8년 전 조회 3,388
jQuery
[jQuery]
8년 전 조회 1,761
jQuery 8년 전 조회 1,930
jQuery 8년 전 조회 2,039
PHP 8년 전 조회 5,363
node.js 8년 전 조회 4,368
jQuery 8년 전 조회 2,415
jQuery 8년 전 조회 1,859
jQuery 8년 전 조회 1,416
jQuery 8년 전 조회 2,144
jQuery 8년 전 조회 1,631
jQuery 8년 전 조회 1,747
jQuery 8년 전 조회 1,957
jQuery 8년 전 조회 2,208
jQuery 8년 전 조회 1,743
jQuery 8년 전 조회 1,676