|
From: Everton L. B. <ev...@fa...> - 2005-07-18 20:56:13
|
Hi,
When I run a report and my query (postgresql) return no rows the
follow messages displayed.
17:30:14 everton@nsa3 [/var/www/html/sa/_relatorios/estudocurriculo] $=20
php novo.php
row number 0 is out of range 0..-1
row number 0 is out of range 0..-1
row number 0 is out of range 0..-1
** NUTS.. WE CRASHED
Sair (core dumped)
IMHO my report must be displayed and data fields is null, or
rlib functions tell me that my query have no results. (the same when a=20
query fails)
Example:
<?php
...
$rExecute =3D rlib_execute($rlib);
if($rExecute =3D=3D=3D false){
die("no results.");
}
?>
ps: I'm using rlib 1.3.4.
--=20
Everton Lu=EDs Berz
N=FAcleo de Sistemas Administrativos :: FACCAT - Faculdades de Taquara
+55 51 541 6600 - R.647
ICQ 7807919
|