<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "poll problem"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "poll problem"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>poll problem</title>
				<description><![CDATA[ Hi. I'm begging for help here bacause im realy stuck!<br /> I want to use this poll on my web site.<br /> so the problem is, i have functions which create the body of the page. example..<br /> [code]&lt;?php<br /> // Important! You have to include it before your html code<br /> include_once &quot;/home2/mrfox/public_html/poll/poll_cookie.php&quot;;<br /> ?&gt;<br /> function body&#40;&#41;&#123;?&gt;<br /> &lt;table&gt;<br /> &lt;td   width=&quot;60%&quot;&gt;&amp;nbsp;&lt;? <br /> include_once &#40;&quot;/home2/mrfox/public_html/poll/booth.php&quot;&#41;;<br /> <br /> echo $php_poll-&gt;poll_process&#40;3&#41;; ?&gt;<br />  <br /> 																<br /> 		&lt;/td&gt;<br /> 		&lt;td width=&quot;1%&quot;&gt;&lt;img src=&quot;img/spacer.gif&quot; width=&quot;2pt&quot;&gt;&lt;/td&gt;<br />  <br /> &lt;/table&gt;&lt;? &#125;[/code]<br /> so as u see i have a function which creates body of the page, and the poll script is inside of it.. so it doesnt work that way(- it works only if the code is outside the function. i cant use it outside the function cause it will destroy everything.<br /> so is there any posible solution to make work inside the function?<br /> <br /> oh, by the way http://game-zona.ru/survey.php this is the result if poll is in function(-]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4749/16697.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4749/16697.php</link>
				<pubDate><![CDATA[Thu, 23 Jun 2005 02:48:35]]> GMT</pubDate>
				<author><![CDATA[ mr.fox]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Well if I remember rightly you use the poll by using something like[code]echo poll_number&#40;newest&#41;[/code]or something. I know it is an echo though. So why not just have it turned into a variable instead of echoed?<br /> [code]&lt;?php<br /> // Important! You have to include it before your html code<br /> include_once &quot;/home2/mrfox/public_html/poll/poll_cookie.php&quot;;<br /> ?&gt;<br /> $the_poll = poll_number&#40;newest&#41;;<br /> function body&#40;&#41;&#123;?&gt;[/code]<br /> then you just put the variable in your body function as a global or pass it as a variable.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4749/16703.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4749/16703.php</link>
				<pubDate><![CDATA[Thu, 23 Jun 2005 07:37:14]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>