è¯·å¤§ä¾ ä»¬å¸®å°å¼æççè¿ä¸ªæå ³é®é¢åºå¨åª
程序员文章站
2022-06-02 12:10:00
...
è¯·å¤§ä¾ ä»¬å¸®æççè¿ä¸ªé®é¢åºå¨åªï¼
代ç å¦ä¸
代ç å¦ä¸
require_once 'header.php';
require_once 'check.php';
?>Item Detail
if(isset($_POST['submit_edit_item_id']))
{
$_SESSION['eidt_item_id'] = $_POST['sub_edit_item_id'];
}
$item_id = $_SESSION['eidt_item_id'];
$result = mysql_query("SELECT * FROM ITEM WHERE ITEM_ID = $item_id");
if($result)
{
$row = mysql_fetch_array($result);
$user_id = $_SESSION['id'];
$name = $row['NAME'];
$dsc = $row['DESCRIPTION'];
$auc = $row['RESERVE_PRICE'];
$bin = $row['BIN_PRICE'];
$btime = $row['BEGIN'];
$etime = $row['END'];
$status = $row['STATUS'];
$seller = $row['SELLER_ID'];
$winner = $row['WINNER_ID'];
$curr_bid = $row['CURR_BID'];
$num_bid = $row['NUM_BID'];
$img_id = $row['IMG_ID'];
}
$result = mysql_query("SELECT USER_NAME FROM USER WHERE USER_ID = $seller");
if($result)
{
$row = mysql_fetch_array($result);
$seller_name = $row['USER_NAME'];
}
?>
上一篇: 问一个老掉牙的问题_html/css_WEB-ITnose
下一篇: 谁能说下宏到底是什么。。。
ç½åè¯è®º
ææä¸ç½çæ§åè¨ï¼è¯·éµå® æ°é»è¯è®ºæå¡åè®®
æè¦è¯è®º