我有一个PHP脚本包含e.ct几个变量 “的welcome.php”如何从另一个脚本回显包含html的变量?
<?php
$hello = '<p class="fontBlack15">we will collect your rent to co-inside with your student loan payments. </p>';
?>
在另一个PHP脚本 “hello.php” 扩展我有:
<?php include 'welcome.php';?>
<div id="header"><? echo $hello; ?></div>
这doenst工作.. 。我真的不知道为什么?
谢谢
运行脚本时发生了什么? –
你正在使用本地主机或服务器? – Manwal
您是否收到错误?把这个。 –