この行を変更
echo '<td align="center"><a href="' . $images . $big . $file . '"><img src="' . $images . $file . '" /></a><br />' . $description[$file][0] . '</td>';
に
echo '<td align="center"><a href="' . $images . $big . $file . '"><img src="' . $images . $file . '" /></a><br />' . $description[$file]. '</td>';
説明: このような配列 $desription があります
Array
(
[] =>
[PICT0168.JPG] => Balloon Fiesta!
[PICT0259.JPG] => Our Halloween Pumpkin
[PICT0271.JPG] => Converting our garage to a halloween cave
[PICT0282.JPG] => My little ghoulish helpers
[PICT0524.JPG] => Ash meets Cinderella on her 7th B-day
[PICT0633.JPG] => Jayden's first snowday
)
したがって、使用する$description[$file][0]
ときは、実際には文字列の最初の文字を呼び出しています。例を示すには、次を試してください。
$string = "Hello World";
echo $string[0]; // output H