I'm scripting a
photo gallery page that generates links (1 through $max), sends the selected
number in the url, then displays a set of photos based on the number. However, I
want it to display the number of the current gallery differently than the other
numbers. If the browser clicks on "3"
Can PHP generate an
array based on file names in a folder?
For example, if I
have a folder called "photos" that includes three files -- tree.jpg, house.jpg
and boat.jpg -- can PHP "look" at the file and generate a variable $photos=
array("tree", "house","boat"). Any ideas for how to
2 matches
Mail list logo