你要提取哪张图片?
就数组下标就行了
print "<img src=admin/photo/$pic[$i] border=0 width=150 height=100><br><br>";