Commit 82538443 authored by Srinivas's avatar Srinivas
Browse files

Update du2.php

parent f4487bd1
Pipeline #37745 canceled with stage
<?php <?php
session_start(); session_start();
include('connection.php');
$connection = getdb();
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
...@@ -133,8 +135,6 @@ window.onload = function(){ ...@@ -133,8 +135,6 @@ window.onload = function(){
<button class="openbtn" onclick="openNav()" ></button> <button class="openbtn" onclick="openNav()" ></button>
<?php <?php
$x=$_GET['id']; $x=$_GET['id'];
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$query= "SELECT * FROM student where ID='$x' "; $query= "SELECT * FROM student where ID='$x' ";
$query_run = mysqli_query($connection,$query); $query_run = mysqli_query($connection,$query);
?> ?>
......
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