[snip] > <?php > $db=mysql_connect('localhost','',''); > mysql_select_db($database,$db); > $sql="select COUNT" . $this . " from" . $table . " group by" . $this . "; > ................ > ?>
But that results in what looks like an invalid sql query! [/snip] My bad... I didn't test, should be... $sql="select COUNT " . $this . " from " . $table . " group by " . $this; HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php