Re: counting records in db

From: Date: Thu, 26 Oct 2006 18:25:06 +0000
Subject: Re: counting records in db
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-243699@lists.php.net to get a copy of this message
Why would you want to do that? Think about what you're trying to do. In the first case you want a COUNT of records in the database, in the second you just want to see if the user/password combination or whatever exist, so just use a normal SELECT query, no need to use the wrong tool for the job...!

« previous php.general (#243699) next »