0
我想在中调用查询字符串。我尝试了不同的方式。当我运行该脚本生病得到:查询字符串<iframe>
注意:试图让非对象的属性在C:\ Program Files文件(x86)的...... \ print.php上线184
东西在src="./print.php?id='. $_GET['id'] .'"
出问题了。我试图访问print.php?id=25
,那里也没有错误。
有人知道我的代码有什么问题吗?
<?php
if (isset($_GET['id']))
{
?>
<iframe width="100%" height="900px" src="./print.php?id='. $_GET['id'] .'"></iframe>
<?php
}
?>
这就是解决方案:d感谢 – John
;)如果这是你的问题接受这个答案的解决方案 – ashkufaraz