You are here: Re: SELECT * help needed. « PHP Programming Language « IT news, forums, messages
Re: SELECT * help needed.

Posted by Ian B on 10/20/05 03:11

Not quite what you asked for but

select num, abs(num - $reqd ) as srt from t1 order by srt limit 11

will give you your record plus the nearest 10 records to it

Just a thought.

Ian

 

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

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