From: Bob D. <bd...@si...> - 2005-07-19 14:34:57
|
It's not supposed to crash in either case Send in the stack trace On Mon, 2005-07-18 at 17:54 -0300, Everton Luis Berz wrote: > 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] $ > 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 > query fails) > > Example: > <?php > ... > $rExecute = rlib_execute($rlib); > if($rExecute === false){ > die("no results."); > } > ?> > > > ps: I'm using rlib 1.3.4. |