phpを使用してweb投票サイトを作成したいと思っています。
投票した票数を取り消し(1クリック1票とりけし)できるようにもしたいと思っています。
どのように作成したらよいでしょうか。
以下に現状が現状のソースです。
<html> <head> <title>集計</title> <?php header("Content-Type: text/html; charset=shift_jis"); ?> <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> <meta name="refresh" content="5"> </head> <body>好きなものを選んでください。 <form name="form" method="post" action="touhyou.php">
<input type='radio' accesskey="1" name='koumoku' value='0'>おにぎり<br>
<input type='radio' accesskey="2" name='koumoku' value='1'>魚<br>
<input type='radio' accesskey="3" name='koumoku' value='2'>肉<br>
<input type='radio' accesskey="4" name='koumoku' value='3'>にんじん<br>
<input type='radio' accesskey="5" name='koumoku' value='4'>りんご<br>
<input type='radio' accesskey="6" name='koumoku' value='5'>いちご<br>
よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/03/23 07:26
2016/03/23 07:37
2016/03/23 07:54
2016/03/23 10:44