Write a PHP Program to prepare student Mark sheet using Switch statement.



Write a PHP  Program to prepare student Mark sheet using Switch statement.

<html>
<head>
<title> Marksheet</title>
</head>
<body>
<form name="frmdemo" action="practicle.8aphp" methd="post">
<feild set>
<legend align="center">Enter Your Name With Markes Detail</legend>
<table width="250px"border="2"alogn="center">
<tr>
<td> <align=right>Name</td>
<td><input type="text name="txtname"></td>
</tr>
<tr>
<td> <align="right">Subject-1</td>
<td><input type="text" name="txtsub-1"></td>
</tr>
<tr>
<td> <align="right">Subject-2</td>
<td><input type="text" name="txtsub-2"></td>
</tr>
<tr>
<td> <align="right">Subject-3</td>
<td><input type="text" name="txtsub-3"></td>
</tr>
<tr>
<td> <align="right">Subject-4</td>
<td><input type="right" name="textsub-4"></td>






</tr>
<tr>
<td> <colspan="2" align="center">
<input type="submit" name="submit" value="submit"></td>
</tr>
</table>
</feildset>
</feild>
</form></body></html>

OUTPUT:-




Comments