Hi.Im trying to create a program that would simply count of votes and save in database after voting of the students,results of all votes, and displaying people that have voted..
here's my html.
<h2><center>Select Candidates</h2>
<p><table cellspacing=5 cellpadding=5>
<tr>
<th>President:</th>
<tr></tr>
<td>1.Name presidents <input type="radio" name="pre1"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>2.Name presidents <input type="radio" name="pre2"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>3.Name presidents <input type="radio" name="pre3"> <th><a href="">View Profile</th></a></td>
</tr>
<tr>
<th>Vice President:</th>
<tr></tr>
<td>1.Name vice presidents <input type="radio" name="vice1"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>2.Name vice presidents <input type="radio" name="vice2"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>3.Name vice presidents <input type="radio" name="vice3"> <th><a href="">View Profile</th></a></td>
</tr>
<tr>
<th>Secretary:</th>
<tr></tr>
<td>1.Name secretary <input type="radio" name="sec1"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>2.Name secretary <input type="radio" name="sec2"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>3.Name secretary <input type="radio" name="sec3"> <th><a href="">View Profile</th></a></td>
</tr>
<tr>
<th>Treasurer:</th>
<tr></tr>
<td>1.Name treasurer <input type="radio" name="tre1"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>2.Name treasurer <input type="radio" name="tre2"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>3.Name treasurer <input type="radio" name="tre3"> <th><a href="">View Profile</th></a></td>
</tr>
<tr>
<th>P.R.O/Auditor:</th>
<tr></tr>
<td>1.Name P.R.O/Auditor <input type="radio" name="p1"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>2.Name P.R.O/Auditor <input type="radio" name="p2"> <th><a href="">View Profile</th></a></td>
<tr></tr>
<td>3.Name P.R.O/Auditor <input type="radio" name="p3"> <th><a href="">View Profile</th></a></td>
</tr>
</table></p>
<h2><center>
<input type="submit" value=" VOTE "></h2>
tnx in advance if somebody would give working on php script...Godbless