안녕하세요.
여기저기 알아보려고 많은 시간을 보냈는데 도저히 알수가 없어서 염치 불구하고 이곳에 글을 남깁니다.
Board에서 글을 쓸때 확장변수로 Agent 라는것을 만들엇습니다.
글을 입력시 Agent 부분에 회원들의 목록(member 데이타베이스)에서 원하는것을 select 문의 option으로 불러오려고 하는데 뭐가 잘못 된건지 되질 않습니다. 제가 잘못 한건지, xe에는 다른 방법이 있는지 모르겟지만 가르침을 주셨으면 합니다.
Board의 skin중에서 write.form.html 의 내용에서 확장변수가 잇는 부분을 아래와 같이 수정 하엿습니다.
{$val->name} * | 확장변수의 이름이 Agent 인경우는{$val->getFormHTML()} |
---|
...
다시 원하는 루틴을 설명 드리면 게시판의 글을 쓸때 확장변수입력에서 Agent라는 이름이 잇는 확장변수에서
select 문울 사용하여 하나를 고르게 하려고 하는데, 목록은 회원목록을 불러 오려고 합니다.
제가 아는 지식이 짧고 머리도 둔해서(나이탓...) 1주일을 헤메다 염치 불구하고 이곳에 글을 올립니다.
option 속에 데이타베이스 내용을 넣으면 될거 같은데 도저히 모르겠네요.
부탁 드립니다.
감사합니다.
앙띠님 반갑습니다.
솔직히 저도 잘 모르겠습니다. ^.^