Re: MySQL COUNT Won't Work

From: Date: Mon, 19 Feb 2001 00:09:32 +0000
Subject: Re: MySQL COUNT Won't Work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40482@lists.php.net to get a copy of this message
On Sat, 17 Feb 2001 04:27, Jeff Oien wrote: > Yes! That was it. Thank you very much. > Jeff Oien > > > Are you using 3.23.33? If so try removing the space between the > > COUNT and the open paren. It looks like there may be a bug in the > > latest release (seeing this problem on the mysql list for MAX, > > probably exists for COUNT as well). > > > > -jm For future reference, you can use mysql_error() after your call to the database to return the text of the error message from the previous mysql operation. In conjuction with mysql_errno(), you could build a little error reporting routine... -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#40482) next »