PDA

View Full Version : phpinclude help


ibeta
06 Mar 2002, 00:18
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??

Steve Machol
06 Mar 2002, 04:51
ibeta, please go to this (http://www.vbulletin.com/members/vbulletin.org.php) page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.