I'm using phpPolls script for my polls. In fact, I'm still testing it and configuring it to fit in my website. However, this snippet of code does work
but this one
I have my website in C:\inetpub\wwwroot\mysite\...
and phpPolls script files in C:\inetpub\wwwroot\mysite\phpPolls. When running it from there it works fine, but when i want to use it in my page and use the above code it doesn't work.