note 22103 deleted from function.pdf-show-boxed by john
| From: | john@php.net | Date: | Mon, 30 Jun 2003 09:34:56 +0000 |
| Subject: | note 22103 deleted from function.pdf-show-boxed by john | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51202@lists.php.net to get a copy of this message | ||
Note Submitter:
----
> there is a bug in leea@digitus.com.au
> and my code snippets :
> the test of the while loop should be >0
> not >1
> Ivan
Ivan, the code is correct, it must be >1, since for some reason show_boxed returns 1 even if
there's nothing left to display. Using 0 would lead to a infinite loop.
Marko