我不是程序员,所以我需要某些帮助,我猜可能对任何php程序员都很容易。我想将一个php代码包含到PHP文件中。 代码是在一个div:将php代码包含到php文件中
<div style="position: fixed;
background: rgb(226, 30, 30);bottom:0;"><?php
$min=819;
$max=852;
echo rand($min,$max);
?></div>
而且我想插入这个文件与
<?php ....
明显开始我如何可以插入DIV与PHP代码正确地没有得到任何错误?
在此先感谢。
不管你想要包含其他PHP文件,可以使用'包括('the_name_of_the_other_php_file .php');' – kainaw
你想在哪里包含? –