• echo - 하나 이상의 문자열을 출력
  • print_r() - 변수에 관한 정보를 사람이 읽기 편하게 출력
  • flush() - 출력 버퍼를 비웁니다

http://php.net/manual/kr/function.print.php


http://php.net/manual/kr/function.echo.php

'progarm_old > [PHP]' 카테고리의 다른 글

in_array_  (0) 2016.05.17
mysql 자동증가  (0) 2016.05.17
[php] 정말 유용한 사이트네요.  (0) 2016.04.21
arsort 내림차순 asort 오름차순  (0) 2016.04.14
[php] 배열사용하기  (0) 2015.12.21




https://opentutorials.org/course/62/240



'progarm_old > [PHP]' 카테고리의 다른 글

mysql 자동증가  (0) 2016.05.17
php 출력하기 다양성  (0) 2016.05.16
arsort 내림차순 asort 오름차순  (0) 2016.04.14
[php] 배열사용하기  (0) 2015.12.21
[php] 체크박스 배열넘겨서 받기  (0) 2014.11.13

<input type="checkbox" name="strviewstr[]" id="strviewstr_1" value="1" /><label for="strviewstr_1">일</label>&nbsp;

<input type="checkbox" name="strviewstr[]" id="strviewstr_2" value="2" /><label for="strviewstr_2">월</label>&nbsp;

<input type="checkbox" name="strviewstr[]" id="strviewstr_3" value="3" /><label for="strviewstr_3">화</label>&nbsp;

<input type="checkbox" name="strviewstr[]" id="strviewstr_4" value="4" /><label for="strviewstr_4">수</label>&nbsp;

<input type="checkbox" name="strviewstr[]" id="strviewstr_5" value="5" /><label for="strviewstr_5">목</label>&nbsp;

<input type="checkbox" name="strviewstr[]" id="strviewstr_6" value="6" /><label for="strviewstr_6">금</label>&nbsp;

<input type="checkbox" name="strviewstr[]" id="strviewstr_7" value="7" /><label for="strviewstr_7">토</label>



for($i=0;$i<sizeof($strviewstr);$i++){

if($i==0) $f_gubun = $strviewstr[$i];

else $f_gubun .= ",".$strviewstr[$i];

}

+ Recent posts