Home >Backend Development >PHP Tutorial > 数据修改为功后,页面显示的还是原来的数据

数据修改为功后,页面显示的还是原来的数据

WBOY
WBOYOriginal
2016-06-13 12:41:29908browse

数据修改成功后,页面显示的还是原来的数据
数据修改成功后,页面显示的还是原来的数据

<br>
<br>
<?PHP <br />
include_once ("conn.php");<br>
<br>
$value=$_GET['value'];<br>
<br>
$sql_itemcode="SELECT * FROM `product` WHERE `item_code` = '$value'";<br>
$querya = mysql_query($sql_itemcode); <br>
$rs= mysql_fetch_array($querya);<br>
<br>
<br>
?><br>
<div>
<br>
    <h3>产品详情</h3>
<br>
    <form>" method="post"><br>
        <table>
<br>
        <!--<br />
          <tr><br />
            <td width="174" align="right">ID:</td><br />
<br />
            <td width="374"><br />
<br />
               <input name="item_code" type="text" class="input2" value="<?PHP echo $rs['id']; ?>" maxlength="30" disabled /><br />
           </td><br />
       </tr><br />
        --><br>
       <tr>
<br>
        <td>Item_Code:</td>
<br>
<br>
        <td>
<br>
<br>
           <input>" maxlength="30" disabled/><br>
       </td>
<br>
   </tr>
<br>
   <tr>
<br>
    <td>产品名称:</td>
<br>
    <td><?PHP  echo $rs['description']; ?></td>
<br>
</tr>
<br>
<tr>
<br>
    <td>HKS_物流成本(RMB):</td>
<br>
    <td> <input>"/></td>
<br>
</tr>
<br>
<tr>
<br>
    <td>JPS_物流成本(RMB):</td>
<br>
    <td> <div class="clear">
                 
              
              
        
            </div>
</td>
</tr>
</table>
</form>
</div>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn