[Solved] URL database opening using PHP

sourabh bisht Asks: URL database opening using PHP
phpmyadmin database

I want to open page from database using phpmyadmin, php, html. I have tried retrieving data from phpmyadmin using php

this is my Phpcode

Code:
     <?php
     include('Connection.php');  
     session_start();
     $id = $_GET['variableName'];
     echo $_GET['variableName']; 

     $sql = "select video from computernetwork where ID = '$id'";  
     $result = mysqli_quecomputernetworkry($con, $sql);  
     $row = mysqli_fetch_array($result, MYSQLI_ASSOC);  
     $count = mysqli_num_rows($result);  

     session_start();
     $_SESSION['video'] = $row['video'];
     fuction ($id) {
     header ("Location: " $sql);
     }
     ?>

This is my HTML code:

Code:
    <div class="mu-course-container">
    <div class="row">
    <div class="col-md-6 col-sm-6">
    <div class="mu-latest-course-single">
    <figure class="mu-latest-course-img">
    <figcaption class="mu-latest-course-imgcaption">
    <a href="#">Lecture-1</a>
    <span><a href="video.php?variableName='01'"><i class=""></i>Video Link</span> </a>
    <span><a href="index.php"><i class=""></i>PDF Link,</span> </a>
    </figcaption>
    </figure>
    <span class="mu-course-price" href="#"></span>
    </div>
    </div>
    </div>

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.