Re: counting records in db

From: Date: Thu, 26 Oct 2006 18:03:12 +0000
Subject: Re: counting records in db
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-243694@lists.php.net to get a copy of this message
Sorry, my bad! It works jsut fine. I did misstake. :) >> >> >> > $query = mysql_query(" >> > SELECT COUNT(*) as NoOfRecords >> > FROM customers >> > WHERE last_name = 'Smith'"); >> > $result = mysql_result($query, 0); >> >

« previous php.general (#243694) next »