Maison > Article > développement back-end > 请大侠们帮小弟我看看这个有关问题出在哪
请大侠们帮我看看这个问题出在哪?
代码如下
<br>nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br><br><br><br><br><?php <br /> require_once 'header.php'; <br> require_once 'check.php';<br>?><br><br><meta><br><meta><br><title>Item Detail</title><br><style><br />.auto-style2 {<br /> text-align: center;<br />}<br />.auto-style1 {<br /> font-size: 36pt;<br /> text-align: left;<br /> font-family: Default;<br />}<br />.auto-style3 {<br /> font-family: Broadway;<br />}<br /></style><br><br><br><br><?php <br /> if(isset($_POST['submit_edit_item_id']))<br> {<br> $_SESSION['eidt_item_id'] = $_POST['sub_edit_item_id'];<br> }<br> <br> $item_id = $_SESSION['eidt_item_id'];<br> <br> $result = mysql_query("SELECT * FROM ITEM WHERE ITEM_ID = $item_id");<br> <br> if($result)<br> {<br> $row = mysql_fetch_array($result);<br> <br> $user_id = $_SESSION['id'];<br> $name = $row['NAME'];<br> $dsc = $row['DESCRIPTION'];<br> $auc = $row['RESERVE_PRICE'];<br> $bin = $row['BIN_PRICE'];<br> $btime = $row['BEGIN'];<br> $etime = $row['END'];<br> $status = $row['STATUS'];<br> $seller = $row['SELLER_ID'];<br> $winner = $row['WINNER_ID'];<br> $curr_bid = $row['CURR_BID'];<br> $num_bid = $row['NUM_BID'];<br> $img_id = $row['IMG_ID'];<br> }<br> <br> $result = mysql_query("SELECT USER_NAME FROM USER WHERE USER_ID = $seller");<br> if($result)<br> {<br> $row = mysql_fetch_array($result);<br> $seller_name = $row['USER_NAME'];<br> }<br>?><br><br>
|