Server IP : 162.240.98.243 / Your IP : 3.129.72.162 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/ |
Upload File : |
<?php session_start(); require_once('../dbconnection.php'); include('header.php'); include('dashboarddocument.php'); if(isset($_POST['signup'])) { $sql="UPDATE list_Investigation SET Method_name='$_POST[Method_name]' WHERE ivid='$_GET[ivid]'"; if($qsql = mysqli_query($con,$sql)) { echo "<script>alert('Update successfully');</script><script> window.history.go(-2)</script>"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <form name='signup' method='post'> <?php include("dbconnection.php"); require_once('../DBManager.php'); require_once('../LoginManager.php'); $narayan=LoginManager::currentUser(); $usertype=LoginManager::getUserTypeByuname("$narayan"); $sql6 ="SELECT * FROM list_Investigation WHERE ivid='$_GET[ivid]'"; $qsql6 = mysqli_query($con,$sql6); while($re1 = mysqli_fetch_array($qsql6)) { echo" <label>Method Name</label> <input name='Method_name' value='$re1[Method_name]' type='text'> "; } ?> <input type="submit" value="Update" name="signup"> </form> </div></div>