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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to