Actually the opposite - my problem is how to be able to use the data in an unordered way.
HTML page designed by client may have product pictures on them already, I need to fit the mysql data to each for a cart system - but the items are not in any particular order on the page (other than all being from the same category)
In other words, first item on page might have ISBN 2, second ISBN 1, third ISBN 4, etc.
The select SELECT ISBN, authorname,title FROM tblBooks WHERE Category='romance returns all as I understand it, and the 'while' deals with each array in sequence (first book array found, second array etc) - but I want to pull the data out of sequence.
Sorry for not being clear..