Interbase : Double SELECT
| From: | Enrico Comini | Date: | Wed, 22 Aug 2001 10:20:46 +0000 |
| Subject: | Interbase : Double SELECT | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11645@lists.php.net to get a copy of this message | ||
With Interbase functions I have to make 2 select.
"SELECT count(*).. to count valid record
and
"SELECT * .. to extract the records
There is a simple solutions to have unique Select ?
I use Pgsql too but here I Have the pg_numrows variable.
Someone sau to me:
just make the "SELECT * .. to extract the records
and then get the rownumber by $number_of_rows=count($selected_array);
Yes, BUT I use get_object !