Subject | RE: [ib-support] How can you link Firebird to PHP? |
---|---|
Author | Javier Rodríguez |
Post date | 2002-09-19T17:13:48Z |
is the last method ,
function resquery()
{
$i = 0;
while (ibase_fetch_row($dataset)) $i++;
$this->numres=$i;
}
i was thinking in a more natural approach , it the query was attached to a
specific TABLE , you can
make it real fast by doing a simple "Select count(*) from ".$table , but in
the case of a query..
Maybe sizing the array Dataset , it could be done , i have to think it over
, but this is a real V0.01 release :)
The real hard thing is to make a DBGrid , but i'm on it :)
I'm from Alcoy, Alicante (Spain) , and seeking for job }XD
See you.
function resquery()
{
$i = 0;
while (ibase_fetch_row($dataset)) $i++;
$this->numres=$i;
}
i was thinking in a more natural approach , it the query was attached to a
specific TABLE , you can
make it real fast by doing a simple "Select count(*) from ".$table , but in
the case of a query..
Maybe sizing the array Dataset , it could be done , i have to think it over
, but this is a real V0.01 release :)
The real hard thing is to make a DBGrid , but i'm on it :)
I'm from Alcoy, Alicante (Spain) , and seeking for job }XD
See you.
----- Original Message -----
From: Jaume Andreu Sabater Malondra <jsabater@...>
To: <ib-support@yahoogroups.com>
Sent: Thursday, September 19, 2002 7:09 PM
Subject: Re: [ib-support] How can you link Firebird to PHP?
On Thursday 19 September 2002 18:59, Javier Rodríguez wrote:
I was thinking about creating a set of Php pages in the form of PhpMyAdmin
but
for Firebird, but first I have to finish two projects, so nothing will be
started before next year.
> var $numres; //Numero de resultados en el datasets de la query
Just incidentally, how do you plan to get this result? As far as I know,
there's only the chance to get the number of columns retrieved, but not the
number of rows (unless you loop the whole cursor, of course).
P.S.: Por cierto, ¿de dónde eres? ;-)
--
Jaume Andreu Sabater Malondra
jsabater@...
Registered linux user #209072
"Ubi sapientas ibi libertas"
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/