I got this code http://www.net.co.cr/php_code.txt, the problem is that Iam just echoing each $pieces[0] (name) without any arrangement,
how could I echo it so itll look like this: http://www.net.co.cr/arrangement_demo.html ??
Thanks for your help people.
Start here:
http://www.php.net/manual/en/function.sort.php
Here's a sample of code that sorts:
$sortedarray = $phparray; sort($sortedarray); foreach ( $sortedarray as $showcode ) { echo <a href=display.php?file=$showcode"; echo " title=\"$showcode\">"; echo $showcode ."</a></td></tr>\n"; }
Hope that helps... -Adam
Hmm and how would I print the letters A, B , C.. ?