그누보드5 기본쿼리

· 8년 전 · 3263

그누보드에서 별도 쿼리 작성시 가장 기본으로 쓰는 쿼리 올려봤습니다.
<?
$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,783
JavaScript 8년 전 조회 2,852
jQuery
[jQuery]
8년 전 조회 1,579
jQuery 8년 전 조회 1,809
jQuery 8년 전 조회 1,915
jQuery 8년 전 조회 1,708
jQuery 8년 전 조회 1,760
jQuery
[jQuery]
8년 전 조회 1,450
jQuery 8년 전 조회 2,069
jQuery 8년 전 조회 2,539
jQuery
[jQuery]
8년 전 조회 1,798
jQuery 8년 전 조회 1,485
jQuery
[jQuery]
8년 전 조회 1,940
jQuery 8년 전 조회 5,516
기타 8년 전 조회 3,264
jQuery
[jQuery]
8년 전 조회 1,652
jQuery 8년 전 조회 1,819
jQuery 8년 전 조회 1,926
PHP 8년 전 조회 5,244
node.js 8년 전 조회 4,252
jQuery 8년 전 조회 2,307
jQuery 8년 전 조회 1,751
jQuery 8년 전 조회 1,314
jQuery 8년 전 조회 2,038
jQuery 8년 전 조회 1,526
jQuery 8년 전 조회 1,644
jQuery 8년 전 조회 1,850
jQuery 8년 전 조회 2,106
jQuery 8년 전 조회 1,644
jQuery 8년 전 조회 1,570