當前位置:首頁 » 編程語言 » framephp

framephp

發布時間: 2022-12-24 15:51:19

① 如何在Frame內顯示php頁面的內容

你可以在前面的網址鏈接里加個參數,然後鏈接里寫成
<a href ="*.html?MainNum=1">1號頁面</a>
<a href ="*.html?MainNum=2">2號頁面</a>
在頁面里,你先GET一下MainNum,根據MainNum控制主頁面,不行嗎??

② 如何在frame的中使用php

你的PHP文件所放置的環境中不支持php的解釋
也就是說 不支持PHP

③ frame框架不能載入php文件嗎

frameset是可以使用PHP文件的,你失敗的原因需要根據你的代碼進行具體分析。下圖是我主頁的代碼,使用frameset嵌入一個固定的head.php和根據參數確定的首頁面:

④ php frame之間的參數傳遞問題

在left.php裡面的目錄,設置成a連接

<a href="right.php?id=1" target="frame_right">帶參數1</a>
<a href="right.php?id=2" target="frame_right">帶參數2</a>
<a href="right.php?id=3" target="frame_right">帶參數3</a>
<a href="right.php?id=4" target="frame_right">帶參數4</a>
當點擊A連接的時候,right裡面的src就會變成帶參數的了

熱點內容
安卓手機如何連接音響功放 發布:2025-05-17 11:37:48 瀏覽:958
破解exe加密視頻 發布:2025-05-17 11:23:41 瀏覽:976
我的世界伺服器圈太大了怎麼辦 發布:2025-05-17 11:15:21 瀏覽:614
便宜的免費雲伺服器 發布:2025-05-17 11:08:50 瀏覽:777
中國頂級dhcp解析伺服器地址 發布:2025-05-17 11:06:27 瀏覽:34
php轉義html 發布:2025-05-17 11:04:00 瀏覽:567
鋼筋籠加密區規范 發布:2025-05-17 10:59:50 瀏覽:4
我的世界網易手機版主播伺服器房號 發布:2025-05-17 10:40:59 瀏覽:227
豎編譯 發布:2025-05-17 09:56:08 瀏覽:229
編程畫飛機 發布:2025-05-17 09:54:03 瀏覽:803