なかなか。。
<form action="submitmembers.php" method="post" > <!-- <input type="hidden" name="action" value="submit" /> --> 氏名:<?php print(htmlspecialchars($name)); ?> <input type="hidden" name="name" value="<?php echo htmlspecialchars($name); ?>" /> <br> メールアドレス(@s.kochi-u.ac.jpのみ):<input type="hidden" name="email" value="<?php echo htmlspecialchars($email); ?>" /> <?php print($email); ?> <br> パスワード:[表示されません] <input type="hidden" name="password" value="<?php echo htmlspecialchars($password); ?>" /> <br> <div><a href="index.php?action=rewrite">« 書き直す</a>|<input type="submit" value="登録する" name="exereg" /></div> </form>
input type="hidden" のあとに、name=""をつけるの忘れてて、もろに時間かかったし。
こういうミスに気がつくと死にたくなる。