<?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: Creating the bank (PHP)</title><link>http://bbgames.disqus.com/</link><description></description><atom:link href="https://bbgames.disqus.com/building_browsergames_creating_the_bank_php/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 13 Sep 2013 09:56:39 -0000</lastBuildDate><item><title>Re: Building Browsergames: Creating the bank (PHP)</title><link>http://buildingbrowsergames.com/2008/06/13/building-browsergames-creating-the-bank-php/#comment-1042301606</link><description>&lt;p&gt;Great tutorial . Very useful selection. I think to me it is useful and really It will be&lt;/p&gt;&lt;p&gt; very useful for all. Thanks for sharing . Keep it up .&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chelsy Brown</dc:creator><pubDate>Fri, 13 Sep 2013 09:56:39 -0000</pubDate></item><item><title>Re: Building Browsergames: Creating the bank (PHP)</title><link>http://buildingbrowsergames.com/2008/06/13/building-browsergames-creating-the-bank-php/#comment-23775145</link><description>&lt;p&gt;Just do:&lt;/p&gt;&lt;p&gt;$amount = abs($_POST['amount']);&lt;/p&gt;&lt;p&gt;That would be one line of code done once :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">S Keilani</dc:creator><pubDate>Sat, 21 Nov 2009 22:33:19 -0000</pubDate></item><item><title>Re: Building Browsergames: Creating the bank (PHP)</title><link>http://buildingbrowsergames.com/2008/06/13/building-browsergames-creating-the-bank-php/#comment-7210567</link><description>&lt;p&gt;Thanks mattias, that function is helpful!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MrLollige</dc:creator><pubDate>Sat, 14 Mar 2009 06:04:38 -0000</pubDate></item><item><title>Re: Building Browsergames: Creating the bank (PHP)</title><link>http://buildingbrowsergames.com/2008/06/13/building-browsergames-creating-the-bank-php/#comment-3089124</link><description>&lt;p&gt;An easy way to fix it is to use PHP's abs() function to force the number to be positive :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mattias</dc:creator><pubDate>Sat, 13 Sep 2008 15:32:41 -0000</pubDate></item><item><title>Re: Building Browsergames: Creating the bank (PHP)</title><link>http://buildingbrowsergames.com/2008/06/13/building-browsergames-creating-the-bank-php/#comment-3089122</link><description>&lt;p&gt;Hi Mattias,&lt;/p&gt;&lt;p&gt;Nice catch! I completely missed that that bug was there. I will post a fix shortly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Sat, 13 Sep 2008 14:19:10 -0000</pubDate></item><item><title>Re: Building Browsergames: Creating the bank (PHP)</title><link>http://buildingbrowsergames.com/2008/06/13/building-browsergames-creating-the-bank-php/#comment-3089121</link><description>&lt;p&gt;Hi, I just noticed something about your code. If the user is to enter a negative amount and deposit it, they would get more gold than they had in their hand and get a negative bank value.&lt;/p&gt;&lt;p&gt;Just thought I'd point it out.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mattias</dc:creator><pubDate>Sat, 13 Sep 2008 08:17:22 -0000</pubDate></item></channel></rss>