| Current Path : /var/www/html/venkat/blockchain/ |
| Current File : /var/www/html/venkat/blockchain/login_success.php |
<?php
include("session1.php");
include("db1.php");
if($r == "venkat"){
$sql = $conn->prepare("SELECT * FROM register");
$sql->bindValue(':rollno',$id);
$sql->execute();
$row = $sql->rowCount();
echo "<center> List </center> ";
$i = 0;
while($row = $sql->fetch()) {
$i = $i + 1;
$name = $row['name'];
$name = str_replace(array('&','<','>'), array('&amp;','&lt;','&gt;'), $name);
$email = $row['email'];
$poster = $row['poster'];
$category = $row['category'];
$date1 = $row['date1'];
$ipa = $row['ipa'];
echo "<div align = 'left'>".$i."--".$name."--".$email."--".$poster."--".$category."--".$ipa."--".$date1."</div><br>";
}
}
else{
echo "<center> <b> <font color = 'red'> You are not authorized to register your project </font> </b></center>";
}
?>