Re: Passing Variables

From: Date: Thu, 23 May 2002 14:43:35 +0000
Subject: Re: Passing Variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98923@lists.php.net to get a copy of this message
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. */

« previous php.general (#98923) next »