<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Here's My Problem/Bug with DEMO 3"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Here's My Problem/Bug with DEMO 3"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Here's My Problem/Bug with DEMO 3</title>
				<description><![CDATA[ Hi Everyone,<br /> <br /> [b][u]I'M USING DEMO #3[/u][/b]<br /> <br /> I've just voted on the newest poll (Let's call it Poll #5), and the Results for Poll #5 are displayed.  I then scroll down to where the dates/links are displayed for previous polls. Let's say I then click the link for Poll #2.  Poll #2 comes up just fine.  Now here's the problem...<br /> <br /> When I click on "view results" for Poll #2, the Results for Poll #5 are displayed.  This of course is automatically done. Why doesn't it automatically show the [b]Results for the Correct Poll[/b] regardless of which poll it is?<br /> <br /> [color="green"]&lt;?php<br /> <br /> /* path */<br /> $poll_path = "/catch/db";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/$POLLDB[class]";<br /> require $poll_path."/include/class_poll.php";<br /> require $poll_path."/include/class_pollcomment.php";<br /> require $poll_path."/include/class_plist.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect();<br /> <br /> $php_poll = new plist();<br /> <br /> /* poll */<br /> $php_poll-&gt;set_template_set("plain");<br /> $php_poll-&gt;set_max_bar_length(125);<br /> $php_poll-&gt;set_max_bar_height(10);<br /> if (isset($HTTP_GET_VARS['poll_id'])) {<br />    echo $php_poll-&gt;poll_process($HTTP_GET_VARS['poll_id']);<br /> } else {<br />    echo $php_poll-&gt;poll_process("newest");<br /> }<br /> <br /> /* poll list */<br /> $php_poll-&gt;set_template("poll_list");<br /> $php_poll-&gt;set_date_format("m/d/Y");<br /> echo $php_poll-&gt;view_poll_list();<br /> echo $php_poll-&gt;get_list_pages();<br /> ?&gt;[/color]<br /> <br /> Of course I have this code in the /* poll*/:<br /> [b]echo $php_poll-&gt;poll_process("newest");[/b]<br /> <br /> Is it because of this that it's also displaying the current poll '[b]Results[/b]', even when viewing older polls?<br /> <br /> Do I need to additionally code something else?  Perhaps I missed something related to this problem here in the forum?<br /> <br /> PLEASE HELP]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/8386.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/8386.php</link>
				<pubDate><![CDATA[Mon, 24 May 2004 04:04:35]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ it should display the correct polls results.<br /> <br /> it only displays the newest when it can't find the others.<br /> shown by this if statement...<br /> <br /> [code]f &#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41; &#123; <br /> echo $php_poll-&gt;poll_process&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;; <br /> &#125; else &#123; <br /> echo $php_poll-&gt;poll_process&#40;&quot;newest&quot;&#41;; <br /> &#125; [/code]<br /> <br /> - Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/8390.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/8390.php</link>
				<pubDate><![CDATA[Mon, 24 May 2004 12:44:24]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [b]I'M USING DEMO #3 TOO [/b]<br /> <br /> The 1st poll I created worked flawlessly.  <img src="https://proxy2.de/forum//images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" /> <br /> <br /> However, when I created my 2nd poll, that's where the problem[b]s[/b] began.<br /> <br /> I've just voted on the newest poll (POLL #2), and the Results for Poll #2 are displayed. I then scroll down to where the dates/links are displayed for previous polls. I then click the link for the 1st poll (POLL #1). Poll #1 is displayed just fine. Now here are the problem[b]s[/b]... <br /> <br /> When I cast my vote on the 1st poll, the Results for "[b]Poll #2[/b]" are automatically displayed... [b]NOT[/b] the results for that poll.  I then have to go back to poll #1 to view the results. At that time of course, it displays the correct results and says that I've already voted.<br /> <br /> [u][b]In addition[/b][/u] --- beginning with when I added the 2nd poll --- Myself &amp; others can of course vote on the 1st poll, but the votes no longer register in the database and the vote count never increases anymore.  It's as if it no longer functions.  [b]But[/b] --- I have no problems with POLL #2.<br /> <br /> When you add a new poll, does it automatically kill the others ??? And why doesn't it automatically show the Results for the Correct Poll regardless of which poll it is? <br /> <br /> [color="red"]&lt;?php <br /> <br /> /* path */ <br /> $poll_path = "/catch/db"; <br /> <br /> require $poll_path."/include/config.inc.php"; <br /> require $poll_path."/include/$POLLDB[class]"; <br /> require $poll_path."/include/class_poll.php"; <br /> require $poll_path."/include/class_pollcomment.php"; <br /> require $poll_path."/include/class_plist.php"; <br /> $CLASS["db"] = new polldb_sql; <br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new plist(); <br /> <br /> /* poll */ <br /> $php_poll-&gt;set_template_set("plain"); <br /> $php_poll-&gt;set_max_bar_length(125); <br /> $php_poll-&gt;set_max_bar_height(10); <br /> if (isset($HTTP_GET_VARS['poll_id'])) { <br /> echo $php_poll-&gt;poll_process($HTTP_GET_VARS['poll_id']); <br /> } else { <br /> echo $php_poll-&gt;poll_process("newest"); <br /> } <br /> <br /> /* poll list */ <br /> $php_poll-&gt;set_template("poll_list"); <br /> $php_poll-&gt;set_date_format("m/d/Y"); <br /> echo $php_poll-&gt;view_poll_list(); <br /> echo $php_poll-&gt;get_list_pages(); <br /> ?&gt; [/color]<br /> <br /> <br /> Do I need to add additional code or something? Perhaps I've missed something related to this problem here in the forum? <br /> <br /> PLEASE HELP]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/8662.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/8662.php</link>
				<pubDate><![CDATA[Wed, 16 Jun 2004 22:01:19]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>???</title>
				<description><![CDATA[ ?????  HELP ?????]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/8699.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/8699.php</link>
				<pubDate><![CDATA[Mon, 21 Jun 2004 08:42:33]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I'm guessing that nobody has an answer for this problem?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/8801.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/8801.php</link>
				<pubDate><![CDATA[Fri, 25 Jun 2004 20:08:14]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ seems that eveyone here is stumped or just can't answer the question...]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/9072.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/9072.php</link>
				<pubDate><![CDATA[Sat, 10 Jul 2004 12:04:05]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="Auron"]it should display the correct polls results.<br /> <br /> it only displays the newest when it can't find the others.<br /> shown by this if statement...<br /> <br /> [code]f &#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41; &#123; <br /> echo $php_poll-&gt;poll_process&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;; <br /> &#125; else &#123; <br /> echo $php_poll-&gt;poll_process&#40;&quot;newest&quot;&#41;; <br /> &#125; [/code]<br /> <br /> - Auron[/quote]<br /> <br /> OK...  My question is...<br /> <br /> If it finds the "newest" poll, why doesn't it find the others???  They're still there, and they haven't went anywhere. :?: <br /> <br /> Also, can you please explain this line bit by bit and tell me what the function is... [code]&#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41;[/code]<br /> <br /> What is [color="green"]isset[/color]?<br /> <br /> I just don't understand why it will display the correct poll when you click to view a previous poll, but [b]'NOT'[/b] the correct results for the poll you are viewing when you click "view results", instead of being taken to the results of the newest poll.  As also stated, voting is also disabled for the older polls [b]ONCE[/b] you create a new poll.  What could be causing this?<br /> <br /> Any help will be deeply appreciated.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/9139.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/9139.php</link>
				<pubDate><![CDATA[Thu, 15 Jul 2004 15:23:52]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Should there be something like this included somehere???<br /> <br /> [color="green"]if (isset($HTTP_GET_VARS['poll_id'])) {<br />    echo $php_poll-&gt;poll_[/color][color="red"]results[/color][color="green"]]($HTTP_GET_VARS['poll_id']);<br /> } else {<br />    echo $php_poll-&gt;poll_[/color][color="red"]results[/color][color="green"]("newest");<br /> }[/color]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/9140.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/9140.php</link>
				<pubDate><![CDATA[Thu, 15 Jul 2004 15:50:29]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ could this have something to with the problem?<br /> <br /> [code]$php_poll = new plist&#40;&#41;;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/9141.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/9141.php</link>
				<pubDate><![CDATA[Thu, 15 Jul 2004 15:56:40]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ My poll is within a table and all the coding is not together.  Could this be causing this problem?<br /> <br /> [code]&lt;?php<br /> <br /> /* path */<br /> $poll_path = &quot;/XXXXXXXXXX&quot;;<br /> <br /> require $poll_path.&quot;/include/config.inc.php&quot;;<br /> require $poll_path.&quot;/include/$POLLDB&#91;class&#93;&quot;;<br /> require $poll_path.&quot;/include/class_poll.php&quot;;<br /> require $poll_path.&quot;/include/class_pollcomment.php&quot;;<br /> require $poll_path.&quot;/include/class_plist.php&quot;;<br /> $CLASS&#91;&quot;db&quot;&#93; = new polldb_sql;<br /> $CLASS&#91;&quot;db&quot;&#93;-&gt;connect&#40;&#41;;<br /> <br /> $php_poll = new plist&#40;&#41;;<br /> <br /> /* poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;simple&quot;&#41;;<br /> $php_poll-&gt;set_max_bar_length&#40;125&#41;;<br /> $php_poll-&gt;set_max_bar_height&#40;10&#41;;<br /> if &#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41; &#123;<br />    echo $php_poll-&gt;poll_process&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;;<br /> &#125; else &#123;<br />    echo $php_poll-&gt;poll_process&#40;&quot;newest&quot;&#41;;<br /> &#125;<br /> <br /> ?&gt;<br /> &lt;/center&gt;<br /> &lt;/div&gt;<br /> &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;br&gt;&amp;nbsp;<br /> &lt;/center&gt;<br /> &lt;/div&gt;<br /> &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;/center&gt;<br /> &lt;/div&gt;<br /> &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;/center&gt;<br /> &lt;?php<br /> /* poll list */<br /> $php_poll-&gt;set_template&#40;&quot;poll_list&quot;&#41;;<br /> $php_poll-&gt;set_date_format&#40;&quot;m/d/Y&quot;&#41;;<br /> echo $php_poll-&gt;view_poll_list&#40;&#41;;<br /> echo $php_poll-&gt;get_list_pages&#40;&#41;;<br /> ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/9144.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/9144.php</link>
				<pubDate><![CDATA[Thu, 15 Jul 2004 16:49:36]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Nope, being in a table is not the problem.  What could it be then ?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3160/9237.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3160/9237.php</link>
				<pubDate><![CDATA[Sun, 18 Jul 2004 17:33:00]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>