You are here: Re: Pagination Problem « PHP Programming Language « IT news, forums, messages
Re: Pagination Problem

Posted by Chris H on 03/25/06 07:22

thanks that worked

"Toby Inkster" <usenet200603@tobyinkster.co.uk> wrote in message
news:tpief3-v8b.ln1@ophelia.g5n.co.uk...
> Chris H wrote:
>
>> $pageprev = $page--;
>
> This doesn't do what you think it does. What you have written is shorthand
> for:
>
> $pageprev = $page;
> $page = $page - 1;
>
> What you want is:
>
> $pageprev = $page - 1;
>
> Ditto with your use of ++.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me ~ http://tobyinkster.co.uk/contact
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация