Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何使内容显示在对象元素中?_Php_Html - Fatal编程技术网

Php 如何使内容显示在对象元素中?

Php 如何使内容显示在对象元素中?,php,html,Php,Html,我正在使用Firefox 20.0.1 <object type="text/html" data="nature.php" style=" margin:1%;overflow:hidden; width: 100%; height: 100%"></object> 内容页面(nature.php)显示在屏幕上。对象元素不用于将完整页面包含到另一个页面中。它用于包含Java小程序或Flash程序。要包含页面,请用php而不是htlm编写,并使用php命令inclu

我正在使用Firefox 20.0.1

<object type="text/html" data="nature.php" style=" margin:1%;overflow:hidden; width: 100%; height: 100%"></object>


内容页面(nature.php)显示在屏幕上。
对象
元素不用于将完整页面包含到另一个页面中。它用于包含Java小程序或Flash程序。

要包含页面,请用php而不是htlm编写,并使用php命令include