You are here: Re: Mysql recordset help « PHP Language « IT news, forums, messages
Re: Mysql recordset help

Posted by Anze on 09/21/05 20:15

Hi Jon!

This is not a nice way, but it would work. You'll have to use your field
names, of course, but the principle is easy...

Next id:
'SELECT min(id) FROM table WHERE id>'.$currentId

Previous id:
'SELECT max(id) FROM table WHERE id<'.$currentId

Have fun!

Anze

 

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

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