///자바스크립트 변수를 php에서 읽기
<script language='javascript'>
var Roomidx='6' ;
</script>
<?
$Roomidx = "<script>document.write (Roomidx);</script>"
echo $Roomidx
?>
'PHP' 카테고리의 다른 글
디렉토리의 파일목록 읽어오기 (0) | 2017.07.22 |
---|---|
htmlspecialchars() (0) | 2017.07.22 |
POST, GET으로 변수값이 넘어가지 않는 경우 - register_globals (0) | 2017.07.22 |
데이터 전송방법 (0) | 2017.07.22 |
경로설정 (0) | 2017.07.22 |
댓글