Re: [EMAIL PROTECTED] PHP/MySQL and COUNT() problem

2008-04-26 Thread Evert Lammerts
I've forwarded this msg to the php-db list ([EMAIL PROTECTED]). Try to subscribe to it. The mysql extension for php is only an interface between php and mysql - the parsing of queries is done within mysql itself. So if your query works through CLI it will also work from within php. Try to var_

[EMAIL PROTECTED] PHP/MySQL and COUNT() problem

2008-04-26 Thread Paul Heath
This may be the wrong message board for this [apologies if it is], but if any of you are PHP/MySQL gurus. Have been trying to get a particular MySQL query to work the through PHP5 with out success. I'll simplify my problem: I have an MySQL query along the lines of ("SELECT x,y,COUNT(y),z FROM tab