| 
			
			
			 
				Chi Kien Uong  
				Geranienstraße 30  
				71034 Böblingen  
				Deutschland / Germany
			 
		 | 
		
	
		
			
				
					
						
							If you are not registered or logged in, you may still use these forums but with limited features.
							 Show recent topics
						 
					 | 
					
						
					 | 
				 
			 
		 | 
	 
	
		
	
		
			
			
			
			
				
					| Author | 
					Message | 
				 
				 
	
					
					
						| 
							
						 | 
					 
					
						
						
							hi all
  
  when i use the code for advanced poll (in my footer.php) , i am not getting any probelm and the output displayed nicely
  the problem occurs when i add another poll in my side bar and at the footer.php, i am getting such error msg
  
  
  Fatal error: Call to a member function poll_process() on a non-object in /home/domains/mysite.com/public_html/rakyat/wp-content/themes/wp/footer.php on line 15
  
  -did i paste or use the wrong code here ?
  anyone can correct me ?
  thanks a million
							
						 | 
					 
		
					
						  | 
					 
	
					
					
						| 
							
						 | 
					 
					
						
						
							hi, just wondering, i am doing a sample of the poll and a guestbook from another script
  The main page will be
  
  http://www.nendoroiz.com/testing/packages.php
  
  and when user click on the topic, it will go to page 
  
  http://www.nendoroiz.com/py/view.php
  
  
  just wondering, when admin created a poll, it will auto list out the code 
  
  <?php
  // Important! You have to include it before your html code
  include_once "/home/nendoroiz/domains/nendoroiz.com/public_html/advancedpoll/poll_cookie.php";
  ?>
  
  <html>
  <body>
  <?php
  include_once "/home/abunene/domains/nendoroiz.com/public_html/advancedpoll/booth.php";
  echo $php_poll->poll_process( ;
  ?>
  </body>
  </html>
  
  
  
  So with the code, what i did is, i manually enter it in  http://www.nendoroiz.com/py/view.php 
  
   and the page loads perfectly fine
  
  
  My question now is, when i create a poll, is there any code i can add in my home page of all the polls created so that i could become 
  
  
  Current poll
  poll 1   
  poll 2
  poll 3
  
   
  
  so that in future when there are additional poll, i will not go to edit the php code to add the upcoming poll one by one
  
  thanks
							
						 | 
					 
		
					
						  | 
					 
				
			
				
					| 
						
					 | 
				 
			 
		
			
			
		 | 
	 
 
 | 
 
	
		| 
			
		 | 
	 
 
	
		Based on the open source JForum
	
 
		 |