Im a newbie on PHP and trying to learn it 😉
I have written this code:
<td height="400" width="25%" bordercolor="<? echo $cbordermain ?>" bgcolor="<? echo $cbgcolormain ?>">
<h2><? echo $intro ?></h2></td>
Where the <? echo $intro ?> stands must eventually be an bunch of text. the $intro thingy refers to an file called content.php Now the porblem is how to insert preformatted text from an .htm file as replacement for the <? echo $intro ?> statement....
Anyone knows something please let me know 🙂 i tried the
$template = file('file/intro.htm');
command but it wont work, and from some script im using as an example to learn from it DOES work... But not on my script so i figured there must be something with the $template thing but i dont ues that nor i cant find it in that script... so im out of clues!