On Thursday 23 May 2002 22:37, Jay Blanchard wrote: > [snip] > me.php > <?php > $db=mysql_connect('localhost','',''); > mysql_select_db($database,$db); > $sql="select COUNT($this) from $table group by $this"; > ................ > ?> > [/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! -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* A company is known by the men it keeps. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php