歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 17, 2024, 04:23:17 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  開發  |  外掛程式  |  我想在部落格上,更新顯示資料 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 我想在部落格上,更新顯示資料  (閱讀 7482 次)
a0968236277
新手見習
*
文章: 1


檢視個人資料
« 於: 十一月 15, 2007, 09:35:48 下午 »

我用Dreamweaver8做了一個即時更新的程式,要把它複製在panel.tenplate這個檔案(這是一個模版內的檔案,我們再這檔案內可以放上一些外掛的東西,如相簿,留言等)但她卻只出現表格資料卻無法顯示
這是我的程式碼
<?php require_once('Connections/kk.php'); ?>
<?php
mysql_select_db($database_kk, $kk);
$query_Recordset1 = "SELECT * FROM products ORDER BY products_date_added DESC";
$Recordset1 = mysql_query($query_Recordset1, $kk) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5" />
<title>無標題文件</title>
</head>

<body>
<table width="499" border="1">
  <tr>
    <td width="489"><img src="150T-1.jpg" width="106" height="82" /><?php echo $row_Recordset1['products_id']; ?> <?php echo $row_Recordset1['products_quantity']; ?></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>
請幫我看看是哪裡出現了問題
已記錄
頁: [1]
LifeType 中文開發論壇  |  開發  |  外掛程式  |  我想在部落格上,更新顯示資料 « 上篇主題 下篇主題 »
    前往: