bbs/list.php
if ($sst)
$sql_order = " order by $sst $sod ";
아래에 소스를 추가해서
if ($bo_table =='educenter' && $_GET[edu]=='s1')
$sql_order = " and wr_3 = '1' order by $sst $sod ";
if ($bo_table =='educenter' && $_GET[edu]=='s2')
$sql_order = " and wr_3 = '2' order by $sst $sod ";
if ($bo_table =='educenter' && $_GET[edu]=='s3')
$sql_order = " and wr_3 = '3' order by $sst $sod ";
출력값이 다르게 나오게는 만들었는데요
페이징은 전체 데이타에 맞춰서 나오네요 ㅠㅠ
페이징도 위에처럼 하는 방법이 없을까요?
if ($sst)
$sql_order = " order by $sst $sod ";
아래에 소스를 추가해서
if ($bo_table =='educenter' && $_GET[edu]=='s1')
$sql_order = " and wr_3 = '1' order by $sst $sod ";
if ($bo_table =='educenter' && $_GET[edu]=='s2')
$sql_order = " and wr_3 = '2' order by $sst $sod ";
if ($bo_table =='educenter' && $_GET[edu]=='s3')
$sql_order = " and wr_3 = '3' order by $sst $sod ";
출력값이 다르게 나오게는 만들었는데요
페이징은 전체 데이타에 맞춰서 나오네요 ㅠㅠ
페이징도 위에처럼 하는 방법이 없을까요?
댓글 1개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기