Re: Feelin' dumb...

From: Date: Sat, 18 May 2002 03:31:39 +0000
Subject: Re: Feelin' dumb...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98211@lists.php.net to get a copy of this message
I apologize :) yes you need to do this: for ($i=1; $i<=$num_pages; $i=$i+20) { echo "$i - is i<br />"; } Make sure $num_pages is set though.. If not it wont work you'll just get a blank white page. Yes I did some testing *hehe* It worked beautifully when $num_pages is set though.. Rick "The human mind is not capable of grasping the Universe. We are like a little child entering a huge library. The walls are covered to the ceilings with books in many different tongues. The child knows that someone must have written these books. It does not know who or how. It does not understand the languages in which they are written. But the child notes a definite plan in the arrangement of the books---a mysterious order which it does not comprehend, but only dimly suspects." - Albert Einstein > From: Jule <jslootbeek@clarku.edu> > Date: Fri, 17 May 2002 23:23:25 -0400 > To: Richard Baskett <php@baskettcase.com>, php-general@lists.php.net > Subject: Re: [PHP] Feelin' dumb... > > for ($i=1; $i<=$num_pages; $i+20) { >> // print stuff here >> }

« previous php.general (#98211) next »