Jump to content

[SOLVED] sort information into arrays


shergold

Recommended Posts

hey, i was just wondering how i would go about sorting information into arrays for example, if i got a list of all files in a directory, or information from a database?

 

also is there away to echo out all the data in an array for example instead of typing out:

 

echo $testarray[0]."< /br>";
echo $testarray[1]."< /br>";
echo $testarray[2]."< /br>";
echo $testarray[2]."< /br>";

 

Thanks,

Shergold.

 

Link to comment
https://forums.phpfreaks.com/topic/164982-solved-sort-information-into-arrays/
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.