php 초보질문있어요..,, 정보
PHP php 초보질문있어요..,,본문
오늘도 열심히 싱싱해 강좌를 보고 공부하고있습니다.
값전달하기 부분인데요.
a.html
<form action=b.html method=post>
<input type=text name=assa1>
<input type=submit value='전달하기'>
<input type=text name=assa1>
<input type=submit value='전달하기'>
</form>
b.html
<?
$assa1 = $_POST[assa1];
?>
<form action=c.html method=post>
<input type=text name=assa2>
<input type=hidden name=assa1 value="<?=$assa1?>"
<input type=submit value='전달하기'>
<input type=text name=assa2>
<input type=hidden name=assa1 value="<?=$assa1?>"
<input type=submit value='전달하기'>
</form>
a.html값을 입력후 b.html 넘어가서 소스보기하면 a.html입력했던 값이나옵니다 문제는 밑에 submit 전달하기 버튼이 안보이네요 머가 잘못된건지 알려주시면 감사하겠습니다.
추천
1
1
댓글 3개
<input type=hidden name=assa1 value="<?=$assa1?>"
에 맨뒤에 >까먹으신듯 ㅎ
에 맨뒤에 >까먹으신듯 ㅎ
부끄럽습니다..
감사합니다......
감사합니다......
간단 하면서도 찾기 어려운 부분일수 도 있겠네요.. 프로그램 하다 보면 이외로 간단한 부분에서 오류가 날때도 간혹 있는것 같아요. ^^