<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "General help..."]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "General help..."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>General help...</title>
				<description><![CDATA[ I wanted to modify the today hit counter like the one of the top: Got this code:<br /> [code]<br />  &lt;?php<br />         <br />         include &#40;&quot;./config.inc.php&quot;&#41;;<br />         if &#40;$COUNT_CFG&#91;'use_db'&#93;&#41; &#123;<br />             include &#40;&quot;./mysql.class.php&quot;&#41;;<br />         &#125;<br />         include &#40;&quot;./counter.class.php&quot;&#41;;<br />         <br />         $counter = new dcounter&#40;&#41;;<br />         $visits = $counter-&gt;show_counter&#40;&#41;;  /* Returns an associative array */     <br /> <br />         echo $visits&#91;'total'&#93;;<br />         echo $visits&#91;'visits_today'&#93;;<br />         <br />     <br />     ?&gt;[/code]<br /> <br /> I wanted to add &lt;b&gt;Total Hits:&lt;/b&gt; # here and &lt;b&gt;Today Hits:&lt;/b&gt; # here and but a &lt;br&gt; inbetween them so they go on seperate lines.<br /> So I did this, but I get an error:<br /> [code]<br />  &lt;?php<br />         <br />         include &#40;&quot;./config.inc.php&quot;&#41;;<br />         if &#40;$COUNT_CFG&#91;'use_db'&#93;&#41; &#123;<br />             include &#40;&quot;./mysql.class.php&quot;&#41;;<br />         &#125;<br />         include &#40;&quot;./counter.class.php&quot;&#41;;<br />         <br />         $counter = new dcounter&#40;&#41;;<br />         $visits = $counter-&gt;show_counter&#40;&#41;;  /* Returns an associative array */     <br /> <br />         echo &lt;b&gt;Total Hits&#58;&lt;/b&gt; $visits&#91;'total'&#93;;<br />         echo &lt;br&gt;;<br />         echo &lt;b&gt;Today Hits&#58;&lt;/b&gt; $visits&#91;'visits_today'&#93;;<br />         <br />     <br />     ?&gt;[/code]<br /> <br /> What am I missing/wrong?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5803.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5803.php</link>
				<pubDate><![CDATA[Sun, 10 Aug 2003 23:21:28]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Change it to this ::<br /> <br /> [code]<br />  &lt;?php <br />         <br />         include &#40;&quot;./config.inc.php&quot;&#41;; <br />         if &#40;$COUNT_CFG&#91;'use_db'&#93;&#41; &#123; <br />             include &#40;&quot;./mysql.class.php&quot;&#41;; <br />         &#125; <br />         include &#40;&quot;./counter.class.php&quot;&#41;; <br />         <br />         $counter = new dcounter&#40;&#41;; <br />         $visits = $counter-&gt;show_counter&#40;&#41;;  /* Returns an associative array */      <br /> <br />         echo &quot;&lt;b&gt;Total Hits&#58;&lt;/b&gt; $visits&#91;'total'&#93;&quot;; <br />         echo &quot;&lt;br&gt;&quot;; <br />         echo &quot;&lt;b&gt;Today Hits&#58;&lt;/b&gt; $visits&#91;'visits_today'&#93;&quot;; <br />         <br />     <br />     ?&gt;<br /> [/code]<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5804.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5804.php</link>
				<pubDate><![CDATA[Sun, 10 Aug 2003 23:47:11]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I get this error (I put it "it=code" in menu.php file): <br /> <br /> Parse error: parse error, expecting `','' or `';'' in /home/groups/j/js/jspbbs/htdocs/bhimpfen/menu.php on line 51]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5805.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5805.php</link>
				<pubDate><![CDATA[Mon, 11 Aug 2003 00:50:22]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Whats on line 51?<br /> <br /> Try the code above again since I've modified it slightly.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5809.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5809.php</link>
				<pubDate><![CDATA[Mon, 11 Aug 2003 09:12:58]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ line 51 = the first echo<br /> Can the owner of this reply! because nothing is working  <img src="https://proxy2.de/forum//images/smilies/2e207fad049d4d292f60607f80f05768.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5812.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5812.php</link>
				<pubDate><![CDATA[Mon, 11 Aug 2003 19:05:30]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Try removing the ' 's from the beginning and end of total and visits_today<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5813.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5813.php</link>
				<pubDate><![CDATA[Mon, 11 Aug 2003 20:39:25]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I got it to work I did this:<br /> <br /> Head Area of menu.php:[code]<br />      &lt;?php<br /> include &#40;&quot;./config.inc.php&quot;&#41;;<br /> if &#40;$COUNT_CFG&#91;'use_db'&#93;&#41; &#123;<br />     include &#40;&quot;./mysql.class.php&quot;&#41;;<br /> &#125;<br /> include &#40;&quot;./counter.class.php&quot;&#41;;       <br /> $counter = new dcounter&#40;&#41;;<br /> $visits = $counter-&gt;show_counter&#40;&#41;;  /* Returns an associative array */<br /> <br /> ?&gt;<br /> [/code]<br /> Then where I wanted the output put:<br /> [code]<br /> &lt;?php echo date&#40;&quot;D, j F Y&quot;&#41;; ?&gt;<br />      &lt;br&gt;<br />       Total Visits&#58; &lt;?php echo $visits&#91;'total'&#93;; ?&gt;<br />      &lt;br&gt;<br />       Visitors Today&#58; &lt;?php echo $visits&#91;'visits_today'&#93;; ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5817.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5817.php</link>
				<pubDate><![CDATA[Mon, 11 Aug 2003 22:49:51]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ This would also work I think, if you want to tidy it up.<br /> <br /> [code]<br /> &lt;?php <br /> echo date&#40;&quot;D, j F Y&quot;&#41;;<br /> echo &quot;&lt;br&gt;Total Visits&#58; $visits&#91;total&#93;&quot;; <br /> echo &quot;&lt;br&gt;Visitors Today&#58; $visits&#91;visits_today&#93;&quot;;<br /> ?&gt;<br /> [/code]<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2240/5823.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2240/5823.php</link>
				<pubDate><![CDATA[Tue, 12 Aug 2003 13:04:33]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
	</channel>
</rss>