PHP Display images in columns
问题 I recently had an image gallery displayed nicely in four equally wide boxes, with the images as 100% width, clear both and height auto. This worked pretty well, except I had hundreds of images called on the page. I am trying to get the same effect, only using a short php script to call the images and display them. Here is a link to the gallery before And here is a link to the site which I am trying to achieve the 4 column fetch thing on. And the php code I currently have <?php $dir = 'images