Student Registration
Student Registration
<?php echo htmlentities($_SESSION['msg']);?><?php echo htmlentities($_SESSION['msg']="");?>
<?php
$regid=intval($_GET['id']);
$sql=mysqli_query($con,“Select * from students where Email=’$regid’”);
$cnt=1;
while($row=mysqli_fetch_array($sql))
{ ?>
<div class="panel-body">
<form name="dept" method="post" enctype="multipart/form-data">
Student Name
Email Address
Student ID No.
CGPA
Student Photo
<?php if($row['studentPhoto']==""){ ?>
<?php } else {?>
<?php } ?>
Upload New Photo
<?php } ?>
Update