RE: [PHP-DB] Select a subset?

From: Date: Tue, 16 Jul 2002 20:24:22 +0000
Subject: RE: [PHP-DB] Select a subset?
Groups: php.db 
Request: Send a blank email to php-db+get-20578@lists.php.net to get a copy of this message
joakim.andersson@cybercom.se wrote at 16/07/02 09:44 > $result = mysql_query("SELECT COUNT(*) as numrows FROM >table",$db); > $row = mysql_fetch_array($result); > $num_rows = $row['num_rows']; Joakim, thanks, that sorted it. Just one note, "numrows" in the sql query should be "num_rows"? That's how I got it to work anyway. -- Clive

« previous php.db (#20578) next »