Jump to content

[SOLVED] Sorting an array


stevepatd

Recommended Posts

I'm reading in a file to an array (flat file database essentially).  I would like to sort it.  Sometimes I want to sort it on field[0], sometimes on another field.  I don't even know where to start.  Is there a function that will do this?  Does anybody have a piece of code for this?

Link to comment
https://forums.phpfreaks.com/topic/40104-solved-sorting-an-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.