Re: [PHP] Little Info...

2012-02-29 Thread Ashley Sheridan
On Wed, 2012-02-29 at 19:27 +0100, Matijn Woudt wrote: > On Wed, Feb 29, 2012 at 7:01 PM, Don Wieland wrote: > > This is a bit related to PHP but mostly mySQL (is there a similar list for > > this stuff? Let me know please) > > > > In my mySQL query editor, I am trying to return a value of 0 when

Re: [PHP] Little Info...

2012-02-29 Thread Matijn Woudt
On Wed, Feb 29, 2012 at 7:01 PM, Don Wieland wrote: > This is a bit related to PHP but mostly mySQL (is there a similar list for > this stuff? Let me know please) > > In my mySQL query editor, I am trying to return a value of 0 when there is > no related rows from this query: > > (select if(count(

Re: [PHP] Little Info...

2012-02-29 Thread Daniel Brown
On Wed, Feb 29, 2012 at 13:01, Don Wieland wrote: > This is a bit related to PHP but mostly mySQL (is there a similar list for > this stuff? Let me know please) php...@lists.php.net and p...@lists.mysql.com, specifically. -- Network Infrastructure Manager http://www.php.net/ -- PHP Gener

[PHP] Little Info...

2012-02-29 Thread Don Wieland
This is a bit related to PHP but mostly mySQL (is there a similar list for this stuff? Let me know please) In my mySQL query editor, I am trying to return a value of 0 when there is no related rows from this query: (select if(count(ip.payment_amount) IS NOT NULL, count(ip.payment_amount)