<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "poll not working"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "poll not working"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>poll not working</title>
				<description><![CDATA[ I want to include the poll in a php page which is dynamical:<br /> [code]<br /> bijlage.php3?zoek=artist&amp;waarde=name<br /> [/code]<br /> <br /> the links shows then this url:<br /> [code]bijlage.php3?action=results&amp;poll_ident=1[/code]<br /> <br /> but "bijlage.php3" doesn't now this action and so on. Only "zoek" and so on.<br /> <br /> How can I use the script?<br /> full script bijlage.php3:<br /> [code]<br /> if &#40;isset&#40;$zoek&#41;&#41;<br /> &#123;<br /> 	$doe=1; <br /> &#125;<br /> <br /> if &#40;!isset&#40;$zoek&#41;&#41;<br /> &#123;<br /> 	$zoek='id';<br /> &#125;<br /> <br /> if &#40;!isset&#40;$waarde&#41;&#41;<br /> &#123;<br /> 	$doe=2;<br /> &#125;<br /> <br /> <br /> if &#40;!isset&#40;$tekst&#41;&#41;<br /> &#123;<br /> 	$tekst='nee';<br /> &#125;<br /> <br /> <br /> if &#40;!isset&#40;$bekijkAnalyse&#41;&#41;<br /> &#123;<br /> 	$bekijkAnalyse='nee';<br /> &#125;<br /> <br /> <br /> # header<br /> ################<br /> ################<br /> <br /> <br /> $header = &lt;&lt;&lt;EOT<br /> &lt;html&gt;<br /> &lt;head&gt;<br /> &lt;title&gt;Resultaat voor zoek $zoek $waarde&lt;/title&gt;<br /> &lt;META HTTP-EQUIV=&quot;imagetoolbar&quot; CONTENT=&quot;no&quot;&gt;<br /> &lt;/head&gt;<br /> &lt;body bgcolor=&quot;#FFFFFF&quot; background=&quot;images/inhoud.jpg&quot;&gt;<br /> EOT;<br /> <br /> if &#40;$doe == 1&#41;<br /> &#123;<br /> 	include &quot;/poll/poll_init.php&quot;;<br /> <br /> 	echo $header;<br /> <br /> 	include&#40;&quot;connectie.php3.inc&quot;&#41;;<br /> <br /> 	//  Query om te zoeken<br /> 	$query = &quot;SELECT * FROM bijlage WHERE $zoek = '$waarde'&quot;;<br /> 	$result = mysql_query&#40;$query&#41; or die&#40;&quot;Login fout 1&quot;&#41;;<br /> <br /> 	//mysql_close&#40;$connection&#41;; <br />  <br /> 	$num = mysql_numrows&#40;$result&#41;;  <br /> 	#while &#40;$rij = mysql_fetch_array&#40;$result&#41;&#41; &#123;<br /> 	#        extract&#40;$rij&#41;;<br /> 	#&#125;<br /> 	while &#40;$row = mysql_fetch_array&#40;$result&#41;&#41; &#123;<br /> 	extract&#40;$row&#41;;<br /> 	echo &quot;&lt;font size=4&gt;&lt;b&gt;&quot;;<br /> 	if &#40;$zoek == titel&#41; &#123;<br /> 		echo &quot;&lt;font color=blue&gt;&quot;;<br /> 	&#125;<br /> 	echo &quot;Titel&#58; $titel&lt;/b&gt;&lt;/font&gt;&lt;br&gt;&quot;;<br /> 	if &#40;$zoek == artiest&#41; &#123;<br /> 		echo &quot;&lt;font color=blue&gt;&quot;;<br /> 	&#125;<br /> 	echo &quot;&lt;font size=4&gt;&lt;b&gt;Artiest&#58; $artiest&lt;/b&gt;&lt;/font&gt;&lt;/font&gt;&lt;br&gt;&quot;;<br /> 	if &#40;$zoek == programma&#41; &#123;<br /> 		echo &quot;&lt;font color=blue&gt;&quot;;<br /> 	&#125;<br /> 	echo &quot;&lt;b&gt;Programma&#58; $programma&lt;/b&gt;&lt;/font&gt;&lt;br&gt;&quot;;<br /> 	if &#40;$zoek == jaar&#41; &#123;<br /> 		echo &quot;&lt;font color=blue&gt;&quot;;<br /> 	&#125;<br /> 	echo &quot;&lt;b&gt;Jaar&#58; $jaar&lt;/b&gt;&lt;/font&gt;&lt;br&gt;&quot;;<br /> <br /> 	echo &quot;&lt;table border=0 width=100% cellspacing=0 cellpadding=0&gt;&quot;;<br />  	echo &quot;&lt;tr&gt;&lt;td width=50%&gt;&quot;;<br /> 	echo &quot;&lt;img src=bijlage/image$plaatje.jpg alt=\&quot;$artiest\&quot;&gt;&lt;/td&gt;&quot;;<br /> 	echo &quot;&lt;td width=50%&gt;&quot;;<br /> <br /> <br /> 	echo $php_poll-&gt;poll_process&#40;$id&#41;; <br /> <br /> 	echo &quot;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;br&gt;&quot;;<br /> &#125;[/code]<br /> <br /> poll_init.php<br /> [code]<br /> &lt;?php<br /> $poll_path = &quot;/poll&quot;;<br /> <br /> require $poll_path.&quot;/poll_cookie.php&quot;;<br /> <br /> header&#40;&quot;Expires&#58; Mon, 26 Jul 1997 05&#58;00&#58;00 GMT&quot;&#41;;<br /> header&#40;&quot;Last-Modified&#58; &quot; . gmdate&#40;&quot;D, d M Y H&#58;i&#58;s&quot;&#41; . &quot;GMT&quot;&#41;;<br /> header&#40;&quot;Cache-Control&#58; no-cache, must-revalidate&quot;&#41;;<br /> header&#40;&quot;Pragma&#58; no-cache&quot;&#41;;<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 /> <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 poll&#40;&#41;;<br /> ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2518/6654.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2518/6654.php</link>
				<pubDate><![CDATA[Sun, 30 Nov 2003 15:12:44]]> GMT</pubDate>
				<author><![CDATA[ commentator]]></author>
			</item>
	</channel>
</rss>