I am getting deeply, deeply frustrated with PHP.

So, I’m trying to get PHP to sort the order it displays some infomration in based on the last modified time of the files containing the info. It isn’t working. I’ve got PHP telling me that it knows what I’m walking about when I ask it to display the values in the array, and the keys associated with said values. The values are what I want to display, the keys are the timestamps for the lastmod dates of the files. It knows that the values are strings and the keys are integers.

So, why does ksort(arrayname) not work? If anyone out there is a PHP genius, and can give me an idea where I’m going wrong, please, please, please drop me a line.

Leave a Reply

Your email address will not be published. Required fields are marked *