74corvette
09-04-2008, 01:11 AM
I'm stumped. (Using VB3.6.8)
I have this code:
<? $pollid="1"; include("poll.php"); ?>
That when ran by itself outside of VB (in a test.php file) will produce the results just fine.
However when inserted in one of my templates it does NOT produce an output and when I look at the source code(using IE) all I see is this:
<? ="1"; include("poll.php"); ?>
Like it parsed the $pollid
I have tried it on different templates in different places with no luck. No matter what template it's in, it will not output. How do I get my template to run the the full code and not parse it out so my poll will show ?
Please tell me this is easy...:o
Thanks everyone.
74
I have this code:
<? $pollid="1"; include("poll.php"); ?>
That when ran by itself outside of VB (in a test.php file) will produce the results just fine.
However when inserted in one of my templates it does NOT produce an output and when I look at the source code(using IE) all I see is this:
<? ="1"; include("poll.php"); ?>
Like it parsed the $pollid
I have tried it on different templates in different places with no luck. No matter what template it's in, it will not output. How do I get my template to run the the full code and not parse it out so my poll will show ?
Please tell me this is easy...:o
Thanks everyone.
74