생활코딩 실전응용-Web Application

input1.php 코드- 정보 입력페이지

이고잉님의 Write.php 를 조금 수정한 페이지입니다.

마찬가지로, article 부분을 제외한 부분은 index 페이지와 같습니다.

article은 다음과 같습니다. POST로 넘어가는 변수명들을 Process 페이지와 맞게끔 잘 바꿔줘야 합니다.

(입력박스 속성에 autocomplete="off" 하시면, 자동으로 뜨는 이전입력기록들이 안나타납니다.)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<article>
TASK 1
<form class="" action="process1.php" method="post">
<p>
<label for="dwg">도면번호:</label>
<input id="dwg" type="text" name="dwg" autocomplete="off">
</p>
<p>
<label for="item">아이템번호:</label>
<input id="item" type="text" name="item" autocomplete="off">
</p>
<p>
<label for="emp">작성자:</label>
<input id="emp" type="text" name="emp" autocomplete="off">
</p>
<p>
<label for="Remark">비고:</label>
<textarea id="Remark" name="Remark" rows="2" cols="30" autocomplete="off"></textarea>
</p>
<p>
<input type="submit" value="전송">
</p>
</form>
</article>

 

댓글

댓글 본문
버전 관리
nomadlife
현재 버전
선택 버전
공동공부
graphittie 자세히 보기