Commit feb351cd authored by Srinivas's avatar Srinivas
Browse files

Update first3.php

parent ab81aaf5
<?php <?php
session_start(); session_start();
include('connection.php');
$connection = getdb();
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en-ca"> <html lang="en-ca">
...@@ -209,9 +212,6 @@ if($_SESSION['username4']){ ...@@ -209,9 +212,6 @@ if($_SESSION['username4']){
</ul> </ul>
</form> </form>
<?php <?php
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$query= "SELECT * FROM student "; $query= "SELECT * FROM student ";
$query_run = mysqli_query($connection,$query); $query_run = mysqli_query($connection,$query);
......
Supports Markdown
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