【PHP】下らねぇ質問はここに書き込みやがれ 54
■ このスレッドは過去ログ倉庫に格納されています
0332nobodyさん
2007/09/15(土) 23:17:20ID:Xmsi68ZJ項目選択後、送信ボタンを押して次ページに遷移し、
「戻る」のリンクをクリックして元のページに戻ると
常に一番上の選択項目が選択された状態となってしまいます。
下記の記述のどの辺りに問題があるかアドバイスいただけると嬉しいです。
mail.php
<?php
if($_POST['submit']){
header("Location: confirm.php");
exit();
}
require("./smarty/Smarty.class.php");
$smarty = new Smarty;
$smarty->template_dir = './smarty/templates';
$smarty->compile_dir = './smarty/templates_c';
$smarty->cache_dir = './smarty/cache';
$smarty->config_dir = './smarty/configs';
$smarty ->display("mail.html");
?>
■ このスレッドは過去ログ倉庫に格納されています