Jump to content

sorting data


Recommended Posts

i am trying to sort data that i am getting from a mysql database in alphabetical order, does anyone know what strip of code i might use to do this?

 

e.g.

$Description = $newArray['Description'];

$EstablishmentName = $newArray['EstablishmentName'];

 

echo "$EstablishmentName,

$Description

 

this gives me a list, can i sort it?

 

any help much appreciated

thanks

lee

Link to comment
https://forums.phpfreaks.com/topic/1853-sorting-data/
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.