How to get While loop Data after user clicked on specific Loop Result

Right now i’m trying to build an online book store and for selling a book the user has to search by the Book title, ISBN and Author name , My Question is after the search result appears which is generated by a while loop how can i get the books Detail after the user clicked on Buy Button and Sale it?

Here is The SearchResult Code

if($searchID == 2)
            $searchResult = mysqli_query($bookConn , "SELECT * FROM bookt WHERE request = 'Approved' AND bookTitle LIKE '%".$searchtext."%'" ) OR die();

        <!-- Page Content -->
        <div class="container" style="display:block;">

            <!-- /.row -->

            <!-- Page Features -->
            <div class="row text-center">

                <div class="col-sm-4 col-lg-4 col-md-4">
                    <div class="thumbnail">
                        <img src="" alt="">
                        <div class="caption">
                          <h3>Book Title:<?php  echo $row['bookTitle']; ?></h3>
                            <p>ISBN: <?php  echo $row['ISBN'];          ?></p>
                            <p>Publication Year<?php    echo $row['bookPublicationYear'];  ?> </p>
                            <p>Book Status:<?php echo $row['bookStatus']; ?></p>
                            <p>Book Price: <?php echo  $row['bookPrice']; ?></p>
                                <a href="buyingProcess.php" class="btn btn-primary">Buy Now!</a> 

            <!-- /.row -->

        <!-- /.container -->



Source: html5

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.