<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Building Browsergames - Latest Comments in Building Browsergames: Implementing a flexible stats system (PHP)</title><link>http://bbgames.disqus.com/</link><description></description><language>en</language><lastBuildDate>Thu, 08 Oct 2009 12:38:33 -0000</lastBuildDate><item><title>Re: Building Browsergames: Implementing a flexible stats system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/06/building-browsergames-implementing-a-flexible-stats-system-php/#comment-19559624</link><description>You need to actually put values into the &amp;lt;foo&amp;gt; and &amp;lt;bar&amp;gt; portions - if you read a little further, the code to do that is later on.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bbgames</dc:creator><pubDate>Thu, 08 Oct 2009 12:38:33 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing a flexible stats system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/06/building-browsergames-implementing-a-flexible-stats-system-php/#comment-10709041</link><description>You're missing the string formatting that puts arguments into your SQL&lt;br&gt;statement - add that, and you should be good to go.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bbgames</dc:creator><pubDate>Wed, 10 Jun 2009 15:06:16 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing a flexible stats system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/06/building-browsergames-implementing-a-flexible-stats-system-php/#comment-10704845</link><description>"SELECT value FROM user_stats WHERE stat_id = (SELECT id FROM stats WHERE display_name = &amp;lt;foo&amp;gt; OR short_name = &amp;lt;foo&amp;gt;) AND user_id = &amp;lt;bar&amp;gt;"&lt;br&gt;&lt;br&gt;i have inserted this into sql query.. however, the error message came out as below:&lt;br&gt;&lt;br&gt;"MySQL said: &lt;br&gt;&lt;br&gt;#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&amp;lt;foo&amp;gt; OR short_name = &amp;lt;foo&amp;gt;) AND user_id = &amp;lt;bar&amp;gt;&lt;br&gt;LIMIT 0, 30' at line 1"&lt;br&gt;&lt;br&gt;what should I do now?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sHyuAn</dc:creator><pubDate>Wed, 10 Jun 2009 13:26:02 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing a flexible stats system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/06/building-browsergames-implementing-a-flexible-stats-system-php/#comment-10704193</link><description>"SELECT value FROM user_stats WHERE stat_id = (SELECT id FROM stats WHERE display_name = &amp;lt;foo&amp;gt; OR short_name = &amp;lt;foo&amp;gt;) AND user_id = &amp;lt;bar&amp;gt;"&lt;br&gt;&lt;br&gt;when i put this into sql query, it shows me the error message as below:&lt;br&gt;&lt;br&gt;"MySQL said: &lt;br&gt;&lt;br&gt;#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&amp;lt;foo&amp;gt; OR short_name = &amp;lt;foo&amp;gt;) AND user_id = &amp;lt;bar&amp;gt;&lt;br&gt;LIMIT 0, 30' at line 1"&lt;br&gt;&lt;br&gt;what should i do?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sHyuAn</dc:creator><pubDate>Wed, 10 Jun 2009 13:13:11 -0000</pubDate></item></channel></rss>