note 10614 added to Ora_Numrows
| From: | lgp at intelnet dot net dot gt | Date: | Fri, 12 Jan 2001 15:48:54 +0000 |
| Subject: | note 10614 added to Ora_Numrows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9713@lists.php.net to get a copy of this message | ||
para obtener el numero de filas de una consulta se puede utilizar:
ora_parse($curs,"Select count(*) from table where.....");
ora_exec($curs);
ora_fetch($curs);
printf(ora_getcolumn($curs,0));
http://www.php.net/manual/function.ora-numrows.php