Hi Larry,
The book describes how to use usort, etc., to sort a multi-dimensional array and that works great.
Is it possible to use something similar to sort a 2 dimensional array by its primary key whilst at the same time inserting some value into an existing field in each secondary array entry? I want to insert a sequence number into the field in the secondary array as the primary key is not sequential for the purposes I have in mind.
Thanks in anticipation for your advice.
Cheers