<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: wpAdMentor prelease</title>
	<link>http://php.aspcode.net/wpadmentor-prelease/</link>
	<description>Free PHP scripts</description>
	<pubDate>Sat, 05 Jul 2008 08:54:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: CooLynX</title>
		<link>http://php.aspcode.net/wpadmentor-prelease/#comment-55</link>
		<author>CooLynX</author>
		<pubDate>Tue, 02 Oct 2007 18:33:53 +0000</pubDate>
		<guid>http://php.aspcode.net/wpadmentor-prelease/#comment-55</guid>
		<description>There is a serious bug in statistics update script.

You have this:
$sql1 = "update ".$wpdb-&#62;prefix."admentor_bannerstats set clickcount=clickcount+1 where id=$id";

It just updates the clickcount for the id, but not bannerid.

Should be:
$sql1 = "update ".$wpdb-&#62;prefix."admentor_bannerstats set clickcount=clickcount+1 where datum='".date('Ymd')."' and bannerid=$id";</description>
		<content:encoded><![CDATA[<p>There is a serious bug in statistics update script.</p>
<p>You have this:<br />
$sql1 = &#8220;update &#8220;.$wpdb-&gt;prefix.&#8221;admentor_bannerstats set clickcount=clickcount+1 where id=$id&#8221;;</p>
<p>It just updates the clickcount for the id, but not bannerid.</p>
<p>Should be:<br />
$sql1 = &#8220;update &#8220;.$wpdb-&gt;prefix.&#8221;admentor_bannerstats set clickcount=clickcount+1 where datum=&#8217;&#8221;.date(&#8217;Ymd&#8217;).&#8221;&#8216; and bannerid=$id&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wpAdMentor 1.0 is released</title>
		<link>http://php.aspcode.net/wpadmentor-prelease/#comment-5</link>
		<author>wpAdMentor 1.0 is released</author>
		<pubDate>Wed, 05 Sep 2007 12:37:43 +0000</pubDate>
		<guid>http://php.aspcode.net/wpadmentor-prelease/#comment-5</guid>
		<description>[...] http://php.aspcode.net/wpadmentor-prelease/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://php.aspcode.net/wpadmentor-prelease/" rel="nofollow">http://php.aspcode.net/wpadmentor-prelease/</a> [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
