";
exit;
}
/*********************/
/* MySQLへデータ登録 */
$result = mysql_db_query("questions",
"insert into www_db (" .
" register, email, how_old, sex, ocupation," .
" sample,phpfi,rdbms,whole )" .
"values (" .
" '$register', '$email', $how_old, $sex, $ocupation," .
" $sample, $phpfi, $rdbms, $whole ) "
);
/**********************/
/* 確認画面表示用処理 */
if( $register == "" ) { $register = "無記名"; }
if( $email == "" ) { $email = "無記名"; }
if( $sex == 1 ) { $sex = "男"; } else { $sex = "女"; }
$ocupation_str[1] = "学生";
$ocupation_str[2] = "プログラマー";
$ocupation_str[3] = "ネットワークエンジニア";
$ocupation_str[4] = "アプリケーションエンジニア";
$ocupation_str[5] = "システムアナリスト";
?>
アンケート登録内容確認画面
お答えいただいたアンケートは以下のように登録されました。どうもありがとうございます。
氏名:
電子メールアドレス:
年齢:歳台
性別:
職業:
項目 | 難易度 |
サンプル解説は | |
PHP解説は | |
RDBMS解説は | |
全体は | |
※大変分かりやすい(1)~大変難しい(5)