|
<SCRIPT language=JavaScript>
// *********************************************************
// フォームのチェック
// *********************************************************
function CheckData() {
return true;
}
</SCRIPT>
<HTML>
<HEAD>
<META http-equiv="Content-type" content="text/html; charset=Shift_JIS">
<TITLE>PHP 雛形</TITLE>
<STYLE>
.MyCell {
background-color:silver
}
</STYLE>
</HEAD>
<BODY>
<H3>第1画面</H3>
<FORM method=POST action=control.php onSubmit='return CheckData()'>
<TABLE border=0 bgcolor=black cellspacing=1 cellpadding=5>
<TR>
<TD class=MyCell>メールアドレス</TD>
<TD class=MyCell>
<INPUT type=text name=In1Email value="<?= $_POST['In1Email'] ?>">
</TD>
</TR>
<TR>
<TD class=MyCell>氏名</TD>
<TD class=MyCell>
<INPUT type=text name=In1Name value="<?= $_POST['In1Name'] ?>">
</TD>
</TR>
<TR>
<TD class=MyCell>郵便番号</TD>
<TD class=MyCell>
<INPUT type=text name=In1Zip value="<?= $_POST['In1Zip'] ?>">
</TD>
</TR>
<TR>
<TD class=MyCell>住所</TD>
<TD class=MyCell>
<INPUT
type=text
name=In1Address
value="<?= $_POST['In1Address'] ?>"
style='width:250'
>
</TD>
</TR>
<TR>
<TD class=MyCell>性別</TD>
<TD class=MyCell>
<INPUT type=text name=In1Sex value="<?= $_POST['In1Sex'] ?>" size=3>
(0:男性,1:女性)
</TD>
</TR>
<TR>
<TD class=MyCell>電話番号</TD>
<TD class=MyCell>
<INPUT type=text name=In1Tel value="<?= $_POST['In1Tel'] ?>">
</TD>
</TR>
<TR>
<TD class=MyCell>携帯番号</TD>
<TD class=MyCell>
<INPUT type=text name=In1Mobile value="<?= $_POST['In1Mobile'] ?>">
</TD>
</TR>
<TR>
<TD class=MyCell>パスワード</TD>
<TD class=MyCell>
<INPUT type=password name=In1Pass1>
<br>
<INPUT type=password name=In1Pass2>
</TD>
</TR>
</TABLE>
<br>
<INPUT type=hidden name=GNO value="2">
<INPUT type=submit name=send value="送信">
<INPUT type=button value="Cancel" onClick='location="control.php"'>
</FORM>
</BODY>
</HTML>
| |