View Single Post
Old 07-15-2004, 11:41 AM   #19
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. In search_function.php you have the following:
PHP Code:
include_once "/home/destroyerx/public_html/poll/booth.php"
ob_start(); 
require(
"/home/destroyerx/public_html/poll/booth.php"); 
$my_poll ob_get_contents(); 
ob_end_clean(); 
This causes the "Cannot redeclare class poll" error because the include_once includes the code and then afterwards there is a require which includes the code again. Remove the include_once line and see what happens.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote