first , I use the code below to show data such as name , quotation id and user id etc etc from table quotation that contains customer id , I wanted to update table quotation and update wpids value in table corders based on the value of wid in table quotation . Thank you in advance for those who are willing to help
updatequo.php
<?php
$qid =$_GET["qid"];
$query = mysqli_query ($conn, "SELECT * FROM quotation where qid = '$qid';");
$result = mysqli_fetch_array($query);
?>
<form action='updatequo1.php?qid=<?php echo $qid;?>' method='post'>
<table align='center' width='45%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td align='left' width='50%'>Quotation ID<td><input class='Minput' type ='text' name='qid'value='<?php echo $result["qid"];?>' disabled ></td>
</tr>
<tr>
<td align='left' width='30%'>User ID<td><input class='Minput' type ='text' name='uid' value='<?php echo $result["uid"];?>' disabled ></td>
</tr>
but when i declare $uid = $_POST['uid']; in updatequo1.php but it says
Notice: Undefined index: uid
in updatequo1.php i wanted to update the value of wpids and change it based on wid value
$result=mysqli_query ($conn, " UPDATE corders set wpids = '$wid' where customerid = '$uid';");