Thanks for the reply. I guess I did waffle a bit, as this isn't what I'm asking.
I'm trying to avoid having that second query, the one you've just written, when I've already got an array (well, the 'resource') with all the records I want in it.
I just want to be able to query that same resource by the selected 'id'. I want to pull out a specific row.
If it's not possible, then sure, I'll run the query that looks up the 'id'.
mysql_data_seek()? Although that looks up a row number, doesn't it?
Hehe, it's a simple concept that I'm managing to explain really badly! Sorry.
Edit: I should add that I'm sticking the result of the query, in $_SESSION, hence not wanting to bother with another query on the details page.