|
|||
Read the Music, a Sheet
Music Plus and Musician
Store affiliate, is your central source for sheet music, songbooks,
and other musical supplies!
Whether you are looking for music by a particular artist, in a particular genre, or written for a particular instrument, we've got what you're looking for. $RD = opendir("/home/readthe1/public_html/musicians/"); $i=0; while (false !== ($dir[$i] = readdir($RD))) { if (substr($dir[$i],-4,4) == ".php") $i=$i+1; } closedir($RD); sort($dir); $column_length = ceil($i / $columns); $i=1; while ($i < count($dir)){ if ((($i-1) % $column_length) == 0) print " | \n"; if (substr($dir[$i],-4,4) == ".php") { print ("\n" ; } $i +=1; } |