0
我通過PHP代碼有一個ListView農產品:PHP - 如何顯示詳細記錄字段在另一個瀏覽器窗口從一個ListView
<?php do { ?>
<tr>
<td width="20"><a href="edit_property_mktg.php?recID=<?php echo $row_rsProperties['recID']; ?>"> <img src="./images/small_pencil.png" /></a></td>
<td width="20"><a href="view_property_mktg.php?recID=<?php echo $row_rsProperties['recID']; ?>"> <img src="./images/small_eye2.png" /></a></td>
<td width="20">
<form name="properties" method="post" action="properties.php?search=<?php echo $row_rsProperties['ms_address']; ?>">
<button type="submit" name="properties"> <img src="./images/newsletter.png" /> </button>
</form>
</td>
<td width="250"><?php echo $row_rsProperties['ms_address']; ?></td>
<td width="140"><?php echo $row_rsProperties['ms_city']; ?></td>
<td width="140"><?php echo $row_rsProperties['ms_state']; ?></td>
<td width="60" align="center"><?php echo $row_rsProperties['ms_zip']; ?></td>
<td width="250"><?php echo $row_rsProperties['ms_mm_owner1']; ?></td>
<td width="250" align="center"><?php echo $row_rsProperties['owner_phone1']; ?></td>
<td width="250" align="center"><?php echo $row_rsProperties['expired']; ?></td>
<td width="250" align="center"><?php echo $row_rsProperties['fsbo']; ?></td>
<td width="250" align="center"><?php echo $row_rsProperties['ms_status']; ?></td>
</tr>
<?php } while ($row_rsProperties = mysql_fetch_assoc($rsProperties)); ?>
我該如何獲得點擊編輯或查看錨定在開窗口(即經javascript代碼驗證後打開
PHP文件(當加載到主菜單中執行):
<body onLoad="openDetailWindow()">
的Javascript的src .js文件功能:
function openDetailWindow() {
window.open("_blank.php","LMS - Record Detail","fullscreen=0,menubar=0","false");
}