인자값을 넘겨준다.
$give = giveMyStatus($member[emt_id]);--->함수로
function giveMyStatus($id){ <---함수에서 받아서 변수 처리
$sql = "select * from study_list where eb_id = '$id' order by idx desc ";
댓글 2개
13년 전
팁인가요??
넓은마인드
13년 전
$give = giveMyStatus($member[emt_id]);--->함수로
function giveMyStatus($id){ <---함수에서 받아서 변수 처리
$sql = mysql_fetch_array(mysql_query("select * from study_list where eb_id = '$id' order by idx desc ");
return $sql[0];
}
이렇게 되겠네요..~~
function giveMyStatus($id){ <---함수에서 받아서 변수 처리
$sql = mysql_fetch_array(mysql_query("select * from study_list where eb_id = '$id' order by idx desc ");
return $sql[0];
}
이렇게 되겠네요..~~
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 30 |
아우겐나이스
|
21년 전 | 4032 | |
| 29 |
아우겐나이스
|
21년 전 | 4430 | |
| 28 |
아우겐나이스
|
21년 전 | 3449 | |
| 27 | 21년 전 | 5814 | ||
| 26 | 21년 전 | 3084 | ||
| 25 | 21년 전 | 6065 | ||
| 24 | 18년 전 | 3637 | ||
| 23 | 21년 전 | 3627 | ||
| 22 | 21년 전 | 4235 | ||
| 21 | 21년 전 | 3811 | ||
| 20 | 21년 전 | 4210 | ||
| 19 | 21년 전 | 6668 | ||
| 18 | 21년 전 | 4728 | ||
| 17 | 21년 전 | 6971 | ||
| 16 | 21년 전 | 4162 | ||
| 15 | 21년 전 | 2615 | ||
| 14 | 21년 전 | 4960 | ||
| 13 | 21년 전 | 3391 | ||
| 12 |
Recluse
|
21년 전 | 3863 | |
| 11 |
아우겐나이스
|
21년 전 | 3558 | |
| 10 |
Recluse
|
21년 전 | 3386 | |
| 9 | 21년 전 | 3965 | ||
| 8 | 21년 전 | 5153 | ||
| 7 | 21년 전 | 4749 | ||
| 6 | 21년 전 | 5663 | ||
| 5 | 21년 전 | 4102 | ||
| 4 | 21년 전 | 4821 | ||
| 3 | 21년 전 | 4733 | ||
| 2 | 21년 전 | 3231 | ||
| 1 | 22년 전 | 4332 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기