Indramayu IT Comunity
Path:
/
home
/
guruvidyaacademy
/
public_html
/
guruvidya.co.in
/
admin
/
[
Home
]
File: update_bcom_course.php
<?php session_start(); if($_SESSION['admin']=="") { header('location:index.php'); } ?> <!DOCTYPE HTML> <html> <head> <title>Admin Panel</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' /> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <link href="css/font-awesome.css" rel="stylesheet"> <!-- jQuery --> <script src="js/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> </head> <body> <div id="wrapper"> <?php include('side_menu.html') ?> <div id="page-wrapper"> <div class="graphs"> <div class="xs"> <h3>Update B.com course</h3> <div class="panel panel-warning" data-widget="{"draggable": "false"}" data-widget-static=""> <div class="panel-body no-padding"> <table class="table table-striped"> <thead> <tr class="warning"> <th>#</th> <th>Name</th> </tr> </thead> <tbody> <?php include('conn.php'); $sqlp= "SELECT * FROM bcom_course"; $vals = mysqli_query($con,$sqlp); $i = 0; while($row = mysqli_fetch_assoc($vals)) { // $image = "images/".$row['image']; $i++ ?> <tr> <td><?php echo $i ?></td> <td><?php echo $row['course']; ?></td> <td><a href="update_bcom_course_update.php?id=<?php echo $row['id']; ?>"> <input type="button" value="Update" name="update" class="btn-success btn"></a></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <link href="css/custom.css" rel="stylesheet"> <script src="js/metisMenu.min.js"></script> <script src="js/custom.js"></script> </body> </html>