the plain number of categories,
use COUNT(*). Example:
SELECT COUNT(DISTINCT table.categoryfield) FROM
`table`;
which returns a single element, the number of unique
categories.
I hope this may help you!
Regards,
Brian Burg
Hudsonville Web Design Team
http://www.hudsonville.k12.mi
By default PHP 4.3.0 has register_globals = off. As
others have mentioned, you need to change
register_globals to on in order to use HTTP GET
variables as global variables. Otherwise, you need to
use $_GET['varname'] in the case you can't edit the
configuration file.
Regar
2 matches
Mail list logo