Posted by Tomαs Rodriguez Orta on 05/13/05 05:14
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.
[Back to original message]
|