Commit 08ad34fa authored by Srinivas's avatar Srinivas
Browse files

Update nouse2.php

parent 663e77f1
<?php
session_start();
include('connection.php');
$connection = getdb();
?>
<html>
<head>
......@@ -162,8 +164,6 @@ if($_SESSION['username']){
</form>
<table>
<?php
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$x=$_GET['id'];
date_default_timezone_set('Asia/Kolkata');
$date = date('y-m-d H:i:s');
......@@ -183,8 +183,6 @@ header("Location:nouse.php");
</form><br><br>
<?php
$x=$_GET['id'];
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$query= "SELECT * FROM student where ID='$x' ";
$query_run = mysqli_query($connection,$query);
?>
......@@ -224,4 +222,4 @@ echo "<script>location.href='sec.php'</script>";
window.history.forward();
</script>
</body>
</html>
\ No newline at end of file
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment