因此,我在这里有一个欢迎页面,其中包括一个php include标签。PHP包含标签不显示文件数据
的welcome.php
<html>
<head>
<title> Web Application</title>
<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css">
<link rel="stylesheet" type="text/css" href="css/welcome_stylesheet.css">
<script type="text/javascript" src="extjs/ext-debug.js"></script>
<script type="text/javascript" src="welcome.js"></script>
</head>
<body id="welcome">
<div id="container">
<p id="welcome_page_h1">Welcome</p>
<div id="select_container">
<?php include("stuff.php"); ?>
</div>
</div>
</body>
</html>
这里还有你的php文件我想包括/显示。
stuff.php:
<p> Well how y'all doin? </p>
<p> Well how y'all doin? </p>
<p> Well how y'all doin? </p>
<p> Well how y'all doin? </p>
我觉得我所有的鸭子,为了在这里,但没有显示。有任何想法吗?
嗯,不会这样做我的好先生 –
@ClayBanks,在这种情况下,希望这两个文件都在同一个目录中。 – vee
他们确实在同一个目录中。一切都结构良好 –