<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Adv. Poll messes up my other code"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Adv. Poll messes up my other code"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Adv. Poll messes up my other code</title>
				<description><![CDATA[ I installed advanced poll and it works fine.... but my other php that connects to another mysql database is all fucked up<br /> <br /> here the site without the poll:<br /> [url]http://www.urbanpeople.net/start3.php[/url]<br /> <br /> and here exactly the same with following code added:<br /> <br /> &lt;?php<br /> include_once "/home/urbanp/urbanpeople.net/poll/booth.php";<br /> echo $php_poll-&gt;poll_process(1);<br /> ?&gt; <br /> <br /> [url]http://www.urbanpeople.net/start2.php[/url]<br /> <br /> Can anyone help me?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16760.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16760.php</link>
				<pubDate><![CDATA[Sat, 25 Jun 2005 15:18:11]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ At some point there must be a conflict of variable or function names between the scripts.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16761.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16761.php</link>
				<pubDate><![CDATA[Sat, 25 Jun 2005 15:57:26]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ What code is on those lines mentioned in the errors?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16767.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16767.php</link>
				<pubDate><![CDATA[Sun, 26 Jun 2005 01:26:58]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title>advanced poll</title>
				<description><![CDATA[ Below the error message and my php code... I think it's a problem with the database connection<br /> <br /> Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.halakah/urbanp/urbanpeople.net/start2.php on line 164<br /> <br /> ROW 162  $anfrage="SELECT * FROM Events WHERE Startdate BETWEEN '$datenow' AND '$datenowendofday' AND (StyleEvent_ID LIKE '1' OR StyleEvent_ID LIKE '2') AND CITY_ID LIKE '1' ORDER BY Startdate ASC";<br /> <br /> ROW 163 $ergebnis=mysql_query($anfrage);<br /> ROW 164 $zeilenanzahl=mysql_num_rows($ergebnis);]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16770.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16770.php</link>
				<pubDate><![CDATA[Sun, 26 Jun 2005 10:57:39]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [code]Warning&#58; mysql_num_rows&#40;&#41;&#58; supplied argument is not a valid MySQL result resource in /home/.halakah/urbanp/urbanpeople.net/start2.php on line 164<br /> <br /> Warning&#58; mysql_fetch_assoc&#40;&#41;&#58; supplied argument is not a valid MySQL result resource in /home/.halakah/urbanp/urbanpeople.net/start2.php on line 186[/code]<br /> <br /> Look it up @ www.mysql.com? no idea.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16771.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16771.php</link>
				<pubDate><![CDATA[Sun, 26 Jun 2005 15:00:07]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title>advanced poll</title>
				<description><![CDATA[ if I put the poll at the bottom of the php page (after all the other code) it won't affect the code. The problem is that after the poll code everything refers to the polls db and not my other database so of course the queries won't work anymore. How can I link it back to the original database after the poll code? I have a "mysql_select_db("up");" statement at the beginning of the new php part but I guess that is not enough. because it will still say that "Table 'uppoll.Places' doesn't exist" where it should be "up.Places"<br /> <br /> My php knowledge is limited so if someone knows how to refer back to my original db that would be great<br /> <br /> thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16773.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16773.php</link>
				<pubDate><![CDATA[Sun, 26 Jun 2005 15:20:31]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ hmm...<br /> <br /> try closing the connection, then re-opening it and selecting the right database?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16781.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16781.php</link>
				<pubDate><![CDATA[Sun, 26 Jun 2005 20:58:06]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title>advanced poll</title>
				<description><![CDATA[ I noticed that I'm using persistent mysql connections which is not really necessary I guess... anyway after the poll code I re-connected to my database using a non-persistent connction and it works fine now.<br /> <br /> [url]http://www.urbanpeople.net/start2.php[/url]<br /> <br /> Thanks for your input]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16782.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16782.php</link>
				<pubDate><![CDATA[Mon, 27 Jun 2005 03:59:11]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ No problem, glad you got it working.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4760/16783.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4760/16783.php</link>
				<pubDate><![CDATA[Mon, 27 Jun 2005 12:32:04]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
	</channel>
</rss>