I run php4 on windows, linux and solaris with MySQL, MSSQL and Oracle 8i and the aggregate functions seem to be fine. Same goes fro php3 on windows and linux with MySQL (except that the aggregate functions are a bit limited here, so its not always worth bothering!). Do you get an error message, either from php or you rdbms? Hard to tell what's wrong without a bit more info. Tom Piotr Fetras wrote: > hi all ! > > I have problems while executing SQL with aggregation functions, even simple > > SELECT COUNT(*) FROM aTable > > stalls. It seems to be a problem in PHP3 itself since other odbc-based applications >run well. > There is simple but stupid solution for this problem: add "group by" phrase: > > SELECT COUNT(*) FROM aTable GROUP BY 1 > > and it goes on. > Is it the same in PHP4 ??? > > piofet > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]