ibeta
03-05-2002, 10:18 PM
ok i need to add this code to my phpinclude so i can call it up later on another template
this it the code
<?php
require "/poll/booth.php";
echo $php_poll->poll_process("newest");
?>
so i tried
ob_start();
require "/poll/booth.php";
echo $php_poll->poll_process("newest");
$poll = ob_get_contents();
ob_end_clean();
and it doesn't seem to work how would i go about doing this??
this it the code
<?php
require "/poll/booth.php";
echo $php_poll->poll_process("newest");
?>
so i tried
ob_start();
require "/poll/booth.php";
echo $php_poll->poll_process("newest");
$poll = ob_get_contents();
ob_end_clean();
and it doesn't seem to work how would i go about doing this??