note 22103 added to function.pdf-show-boxed
| From: | php-general at lists dot php dot net | Date: | Thu, 06 Jun 2002 15:36:21 +0000 |
| Subject: | note 22103 added to function.pdf-show-boxed | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31537@lists.php.net to get a copy of this message | ||
> 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
--
http://www.php.net/manual/en/function.pdf-show-boxed.php
http://master.php.net/manage/user-notes.php?action=edit+22103
http://master.php.net/manage/user-notes.php?action=delete+22103
http://master.php.net/manage/user-notes.php?action=reject+22103