몇 가지 HTML 질문이있는 PHP 페이지가 있습니다. 각 질문에는 "유형"이 있으며 사용자가 1의 척도로 해당 질문에 답변합니다 -5, 아래의 예에서는 A, B, &의 3 가지 질문 유형이 있습니다. 각 질문 "유형"에 대해 TOTAL 점수를 어떻게 추가 할 수 있습니까? (점수는 각 아래 1-5 눈금의 라디오 버튼에서 만들어집니다 질문) 그런 다음 총 점수를 PHP 변수로 저장합니까?끝 부분에 점수를 추가하는 다양한 범주의 질문에 대한 라디오 버튼 등급 시스템
여기에 HTML 코드가 있습니다. 어디에서 시작할 지 알 수 없지만 곧 학교 행사에 참석해야합니다. 하차하고 싶지 않습니다. 하하! 모든 도움을 주셔서 감사합니다, 미안 HTML 양식에 대해 거의 알지 못합니다! 어쨌든, 여기에 HTML 코드는 PHP가 어디든 갈 수의 I/아직 작성하지 않은,이다 : 하하 :
Type A rating:
<br>
<form action="" method="post">
1
<input type="radio" name="select" value="1">
<input type="radio" name="select" value="2">
<input type="radio" name="select" value="3">
<input type="radio" name="select" value="4">
<input type="radio" name="select" value="5">
5
</form>
<br><br>
Type B rating:
<br>
<form action="" method="post">
1
<input type="radio" name="select" value="1">
<input type="radio" name="select" value="2">
<input type="radio" name="select" value="3">
<input type="radio" name="select" value="4">
<input type="radio" name="select" value="5">
5
</form>
<br><br>
Type A rating:
<br>
<form action="" method="post">
1
<input type="radio" name="select" value="1">
<input type="radio" name="select" value="2">
<input type="radio" name="select" value="3">
<input type="radio" name="select" value="4">
<input type="radio" name="select" value="5">
5
</form>
<br><br>
Type C rating:
<br>
<form action="" method="post">
1
<input type="radio" name="select" value="1">
<input type="radio" name="select" value="2">
<input type="radio" name="select" value="3">
<input type="radio" name="select" value="4">
<input type="radio" name="select" value="5">
5
</form>
<br><br>
Type A rating:
<br>
<form action="" method="post">
1
<input type="radio" name="select" value="1">
<input type="radio" name="select" value="2">
<input type="radio" name="select" value="3">
<input type="radio" name="select" value="4">
<input type="radio" name="select" value="5">
5
</form>
<br><br>
Type B rating:
<br>
<form action="" method="post">
1
<input type="radio" name="select" value="1">
<input type="radio" name="select" value="2">
<input type="radio" name="select" value="3">
<input type="radio" name="select" value="4">
<input type="radio" name="select" value="5">
5
</form>
<br><br>
Type B rating:
<br>
<form action="" method="post">
1
<input type="radio" name="select" value="1">
<input type="radio" name="select" value="2">
<input type="radio" name="select" value="3">
<input type="radio" name="select" value="4">
<input type="radio" name="select" value="5">
5
</form>
<br><br>
<input type="submit" name="Sum The Ratings" value="Vote">
질문이 닫힌 이유를 이해하려면 [faq] 및 [ask] –