NameSilo

Mk Portal anyone? - 25 NP$

Spaceship Spaceship
Watch

Celdric

Established Member
Impact
9
Hi. :) Not sure if it's the right place to post. However it's a php problem.
I'm using MK Portal and would like to display polls generated by a 3rd party poll script in a custom center block. But seems that the php code that displays the polls gets not executed.

http://forumshowcase.net

Please scroll a little down to see the custom poll block.

I tested the polls on a seperate php site. And they all work.

Well, I'm a php Rookie. Any hint how to get the poll block working would be appreciated. For a solution I would pay 25 NP$.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You mean where it shows "poll_process(2); ?>" rather than the poll?

That means there's some sort of error in your code. Probably a simple mistake on someones part.
You can post the poll code here and see if anyone can see where the error is.
 
0
•••
Thanks for the response. :) Yes, that's what I mean. Well, the code in general is working. As I mentioned I made a testsite.

It's at

http://forumshowcase.net/ptest.php


Code:
<?php include_once "/home/forumsho/public_html/polltv/booth.php"; echo $php_poll->poll_process(3);

Btw, the actual poll question are meant for another of my sites. I just use them here as placeholder. :laugh:
 
Last edited:
0
•••
it seems to be working fine now, but just incase, the code you posted doesnt have a ?> closing tag.
 
0
•••
Thanks for the hint, Nasaboy. :) I guess I made a mistake when I copied it. The original code has the end tag. However, I worked almost the entire day on it. Finally I used IFrames. I'm not quite happy with it, but it's okay.

Thanks for your response. :)
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back