컴터 (225) 썸네일형 리스트형 배열 폼 체크 하기 날짜 쿼리(2주후 까지 찾기) select a.*, b.name as b_name from 테이블 as a left join member as b on a.input_id=b.id where a.delete='n' and a.cat='company' and a.input_id='아이디' and (case when length(a.c_birth)=10 then a.c_birth::text::date between current_date and (current_date + '2 week'::interval)::date when a.c_birth is null then false else false end ) order by a.reg_date desc limit 20 offset 0 c_birth 을 varchar 형으로 놓아서 date.. 쿼리문에 강제로 정렬(order by) 지정하는 방법 http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=56857&page=1 사용할일 거의 없지만 가끔 필요할때가 있더군요 -_-; (항상 현업의 요청은 뒷통수를 때리지요) select * from test 이렇게 실행하면 결과값이 ------------------- A B C ------------------- 이렇게 나온다고 할때 이 정렬을 ------------------- A C B ------------------- 이렇게 바꾸고 싶다면 다음과 같이 한다. (A,B,C 데이타가 있는 필드명은 fld라 하겠다) select * from test order by case fld when 'A' then '1' when 'B.. MIM 타입 총정리 http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=56777&page=1 우앙~ 욜라 많네. 도데체 이 많은 것들을 어디에 써먹는단 말이지? RFC-822 ARPA 인터넷 텍스트 메시지에 대한 표준 RFC-2045 MIME Part 1: 인터넷 메시지 본문의 형식 RFC-2046 MIME Part 2: 미디어 형식 RFC-2047 MIME Part 3: 비-ASCII 텍스트에 대한 헤더 확장 RFC-2048 MIME Part 4: 등록 프로시져 RFC-2049 MIME Part 5: 적합한 기준 및 예시 컨텐트 형식으로 본 MIME Type Type/sub-type Extension application/envoy evy a.. 엑셀 출력시 합계 수식 넣기 10 20 30 =SUM(A1:C1) mysql_insert_id 와 같은 postgresql 의.. 해당 필드의 시퀀스 명을 볼수 있는데 , 테이블명_필드명_seq 라는 이름. select currval('시퀀스명'); ////현재 값. select nextval('시퀀스명'); //다음값 페이지 로딩 완료후 스크립트 따로 로딩 - Ajax 도 가능 http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=56528&page=1 저만 몰랐는지 모르지만... 웹페이지 로딩 완료 이후 스크립트을 따로 로딩하는 방법입니다. Ajax 에서 페이지 로딩 완료 이후 따로 로딩하는 방법이 있었네요.. Tip 란에 Dynamic 하게 원하는 스크립트만 call 하는 방법이 없냐는 말에.. 뒤져보니 외국에선 벌써 논쟁이 있었더군요. Ajax 는 적용 않해 두고 핵심만 표기 했습니다. [ 메인 ] 로딩 함수 부르기 [ 1.js ] alert('바로 부르기'); function getbgfunc(){ alert('함수안에서 부른 경우'); } 새롭게 창을 열 경우 창 닫기 alert 문제 해결 http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=56517&page=1 onclick="self.opener=self; window.close()" http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=56650&page=1 onclick="top.window.opener = top;top.window.open('','_parent', '');top.window.close();" 이전 1 ··· 20 21 22 23 24 25 26 ··· 29 다음