TinyPortal
Development => Support => Topic started by: gfxindia on June 19, 2006, 08:03:55 AM
i am working on a poll block.
this is the code you need to add if you want to display the poll
<?php include 'poll/poll.php' ?>
how to add it and in which block.
Drop the php tags, and put it in a php block.
include('poll/poll.php');
Or you could use an iFrame in an html/javascript block
<iframe src="poll/poll.php" height="200" width="100%" scrolling="no" frameborder="0"></iframe>
Just alter the height attibute to suit.
the iframe tag sucks
i'll try the former
can we use this in html block.
No. The first option is for a php block.