<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "close_db (advanced poll 2.08)"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "close_db (advanced poll 2.08)"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>close_db (advanced poll 2.08)</title>
				<description><![CDATA[ hello guys,<br /> <br /> i have implemented the advanced poll 2.08 in the middle of my site like this:<br /> <br /> -- snipp --<br /> require_once "/poll_cookie.php";<br /> $poll_path = "/poll";<br /> require_once $poll_path."/include/config.inc.php";<br /> require_once $poll_path."/include/$POLLDB[class]";<br /> require_once $poll_path."/include/class_poll.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect();<br /> $php_poll = new poll();<br /> echo $php_poll-&gt;poll_process($poll);<br /> -- snipp --<br /> <br /> i am reading before and after the poll articles from my database.<br /> the articles before the poll will appear - but after the poll wont.<br /> i have an existing db-connection on the beginning of my site.<br /> <br /> is it possible to close the connection after the poll?<br /> ($CLASS["db"]-&gt;close_db(); or mysql_close(); wont work<img src="https://proxy2.de/forum//images/smilies/8a80c6485cd926be453217d59a84a888.gif" /><br /> <br /> is it possible that i wont connect twice by calling "$CLASS["db"]-&gt;connect();" - but i think i need the "conn_id"?<br /> <br /> (including "mysql_select_db("poll") or die("error");" instead of "$CLASS["db"]-&gt;connect();" wont work<img src="https://proxy2.de/forum//images/smilies/8a80c6485cd926be453217d59a84a888.gif" /><br /> <br /> <br /> thanks for any help<br /> bert]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7406/25186.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7406/25186.php</link>
				<pubDate><![CDATA[Tue, 16 Mar 2010 21:44:56]]> GMT</pubDate>
				<author><![CDATA[ artig]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Sounds like a conflict somewhere possibly in database connection names or even just a variable.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7406/25189.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7406/25189.php</link>
				<pubDate><![CDATA[Wed, 17 Mar 2010 06:09:10]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>