embedding or including
Posted: Wed May 25, 2005 9:16 pm
Hi there,
I'm having the following problem:
I'm trying to get the following code into my template:
When I put this between {literal}-tags I see my pictures, but nothing else (in preview).
I tried to embed it with the embedplugin like this:
But that doesn't work either. Does somebody know how to include/embed the php into the template?
I'm having the following problem:
I'm trying to get the following code into my template:
Code: Select all
<?php
include_once "/var/www/html/poll/booth.php";
echo $php_poll->poll_process(4);
?></p>
<p align="center"><img src="images/hr.gif" width="33" height="13"></p>
<p align="center"><img src="images/shout.gif" alt="Shoutbox" width="125" height="19" hspace="0" vspace="0" border="0">
<?php
include "/var/www/html/shout/net_tag.php";
?></p>I tried to embed it with the embedplugin like this:
Code: Select all
{embed url=talk.php header=true}