You are here: ID based on position? « PHP « IT news, forums, messages
ID based on position?

Posted by "Gustav Wiberg" on 10/20/89 11:25

Hi there!

Is there any function in PHP that gives an ID from a MySQL-db based on which
position the record has in the table?


Let's say, there's a table like this:

1. Record1 ID 33
2. Record2 ID 76
3. Record3 ID 100


If I know position 2, I want to get ID 76. Is the only way to loop through
the recordset?

/G
@varupiraten.se

 

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

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