<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Building Browsergames - Latest Comments in Building Browsergames: Adding Stats (PHP)</title><link>http://bbgames.disqus.com/</link><description></description><atom:link href="https://bbgames.disqus.com/building_browsergames_adding_stats_php/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 17 Sep 2009 17:37:33 -0000</lastBuildDate><item><title>Re: Building Browsergames: Adding Stats (PHP)</title><link>http://buildingbrowsergames.com/2008/06/03/building-browsergames-adding-stats-php/#comment-16837585</link><description>&lt;p&gt;Make sure that you add "$userID = mysql_insert_id($conn);" to the file before you call the setStat functions.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dragolux</dc:creator><pubDate>Thu, 17 Sep 2009 17:37:33 -0000</pubDate></item><item><title>Re: Building Browsergames: Adding Stats (PHP)</title><link>http://buildingbrowsergames.com/2008/06/03/building-browsergames-adding-stats-php/#comment-9720108</link><description>&lt;p&gt;Ive got the same problem, when register it just say it couldnt connect to mysql db, altough it adds the user in the db, it wont add the stats. Oh, and the confirmation mail wont work either.&lt;br&gt;The problem only happen when i tried to add:&lt;br&gt;			$userID = mysql_insert_id($conn);&lt;br&gt;			require_once 'stats.php';&lt;br&gt;			setStat('atk',$userID,'5');&lt;br&gt;			setStat('def',$userID,'5');			&lt;br&gt;			setStat('mag',$userID,'5');&lt;/p&gt;&lt;p&gt;anyone can help me out? thanks in advance&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mariano</dc:creator><pubDate>Thu, 21 May 2009 05:39:09 -0000</pubDate></item><item><title>Re: Building Browsergames: Adding Stats (PHP)</title><link>http://buildingbrowsergames.com/2008/06/03/building-browsergames-adding-stats-php/#comment-7360704</link><description>&lt;p&gt;Yes - it was created at&lt;br&gt;&lt;a href="http://buildingbrowsergames.com/2008/05/05/designing-browsergames-a-flexible-stats-system/" rel="nofollow noopener" target="_blank" title="http://buildingbrowsergames.com/2008/05/05/designing-browsergames-a-flexible-stats-system/"&gt;http://buildingbrowsergames...&lt;/a&gt;&lt;br&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Thu, 19 Mar 2009 19:49:21 -0000</pubDate></item><item><title>Re: Building Browsergames: Adding Stats (PHP)</title><link>http://buildingbrowsergames.com/2008/06/03/building-browsergames-adding-stats-php/#comment-7358621</link><description>&lt;p&gt;Is there any info on making the user_stats table?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Casey</dc:creator><pubDate>Thu, 19 Mar 2009 18:03:30 -0000</pubDate></item><item><title>Re: Building Browsergames: Adding Stats (PHP)</title><link>http://buildingbrowsergames.com/2008/06/03/building-browsergames-adding-stats-php/#comment-7315913</link><description>&lt;p&gt;You're going to have to give me more information in order for me to help&lt;br&gt;you; do they not insert into the database? Does it not update them? What&lt;br&gt;"doesn't work"?&lt;br&gt;My first suggestion would be redoing the tutorial, and making sure that you&lt;br&gt;follow each step exactly - typically these sorts of problems crop up because&lt;br&gt;you've missed a step, or skipped ahead.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Wed, 18 Mar 2009 11:14:22 -0000</pubDate></item><item><title>Re: Building Browsergames: Adding Stats (PHP)</title><link>http://buildingbrowsergames.com/2008/06/03/building-browsergames-adding-stats-php/#comment-7310763</link><description>&lt;p&gt;I can't get it to work.&lt;/p&gt;&lt;p&gt;It just won't add the stats.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Haru of Magicide</dc:creator><pubDate>Wed, 18 Mar 2009 05:37:05 -0000</pubDate></item><item><title>Re: Building Browsergames: Adding Stats (PHP)</title><link>http://buildingbrowsergames.com/2008/06/03/building-browsergames-adding-stats-php/#comment-7210042</link><description>&lt;p&gt;Why did you switch over to Include instead of Require_once?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MrLollige</dc:creator><pubDate>Sat, 14 Mar 2009 05:16:40 -0000</pubDate></item></channel></rss>