Vue.js is detected on this page. Devtools inspection is not available because it's in production mode or explicitly disabled by the author. Vue devtools를 사용해서 브라우저에서 확인해 보려고 하면 저런 메시지가 뜹니다. 아래 링크를 가 보면 Vue.js 멤버라는 사람이 댓글을 달았네요(thumbs down이... -_-). https://github.com/vuejs/devtools/issues/190#issuecomment-415567488 Vue.js is detected on this page. Devtools inspection is not available because it'..
Array( [0] => Array ( [0] => TEST [tag] => div [1] => div [2] => style="margin-top: 10px;" [3] => style="margin-top: 10px;" [4] => TEST [5] => TEST ))코드를 실행하면 결과는 위처럼 나옵니다.
echo date("W", strtotime("2022-01-03")); 이렇게 하면 오늘이 01로 나옵니다. 1월 4일도 마찬가지로 01이 나옵니다. 이런 계산이 나오는 이유는 시작을 월요일로 잡았기 때문에 그렇습니다. 그런데 일요일을 시작으로 잡아야 하는 경우가 있습니다. 이런 경우는 아래처럼 하시면 됩니다. echo date("W", strtotime("2022-01-09")); echo strftime("%U", strtotime("2022-01-09")); 위 코드를 실행해 보면 알겠지만 date로 한 건 01로 나오지만 strftime으로 한 건 02로 나옵니다. 전자는 3일(월요일)부터 9일(일요일)까지를 한 주로 취급했고 후자는 2일(일요일)부터 8일(토요일)까지를 한 주로 취급했기 때문입..
삭제해야 할 value가 $number라는 변수라고 가정합니다.
sorting NULL NULL 2 1 3 칼럼이 sorting이고 값은 보는 것처럼 저렇고 원하는 정렬 순서는 1, 2, 3, NULL, NULL SELECT * FROM #table ORDER BY sorting IS NULL ASC, sorting ASC
$("#file").on("change", function(e) { var tmp = e.target.files[0]; var img = URL.createObjectURL(tmp); $("#image").attr("src", img); }); 대충 이런 식으로 하면 됩니다. [sample]