I want to get count rows with the pear packet

From: Date: Fri, 13 May 2005 02:14:56 +0000
Subject: I want to get count rows with the pear packet
Groups: php.general 
Request: Send a blank email to php-general+get-215090@lists.php.net to get a copy of this message
Hello hard people!!! I want to get count rows at the query using odbc over windows. but I can't get any value of this, I doing this. $sql="SELECT * FROM id Like '$id'"; $res=$db->query($sql); $numRecords=$res->numRows(); echo $numRecords; but when I the page print $numRecords I saw this Object id #5 somebody can Help me? I need an small help. please!!!! regrads TOMAS ------------------------------------------------------------------------- Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27 en el dominio de correo angerona.cult.cu y no se encontro ninguna coincidencia.

« previous php.general (#215090) next »