PDA

View Full Version : phpinclude help


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??

Steve Machol
03-06-2002, 02:51 AM
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.