| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jul 2005
Posts: 230
![]() ![]() | Mk Portal anyone? - 25 NP$ 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$.
__________________ Cosplay Trend |
| |
| | #2 (permalink) |
| Account Closed Join Date: Mar 2006 Location: UK
Posts: 1,951
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: Jul 2005
Posts: 230
![]() ![]() | 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);
__________________ Cosplay Trend
Last edited by Celdric; 03-27-2006 at 07:21 PM.
|
| |
| | #4 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | it seems to be working fine now, but just incase, the code you posted doesnt have a ?> closing tag.
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Regular Join Date: Jul 2005
Posts: 230
![]() ![]() | 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.
__________________ Cosplay Trend |
| |