If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advance Poll calls from an function generates Database Error  XML
Forum Index » Support Forum
Author Message
Anonymous



I've tried the sample code:



And it works fine, but when I'm trying to put then include booth.php and echo $php_poll->poll_process(4) in a function like this:



I get an error: Database Error, 1046 No Database Selected.
What do I need to do to get this working?
Anonymous



use this code
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum