Hi all,
help needed please.
our site is http://www.1stwestpont.org.uk/photo_gallery3.php
i am using the below code to display a menu of image directories stored on the server.
on choosing an option it should ( and it used to! ) give the url for another bit of code to display the images.
the directory names are stored in the array $darr[ ] having read the image directory.
$lmen is just the number of directories.
the variable $dirchoice is used to pass the value chosen to the display code but doesn't seem to be passed anymore.
is this something to do with a newer version of PHP on my server perhaps?
our site is http://www.1stwestpont.org.uk/photo_gallery3.php.
i hope someboy can help me - this was my first foray into PHP and the code may not be the best but and as i said before, it used to work!!
yours hopefully,,
Micky
<ul> <?php for ($x=0; $x<$lmen; $x++) { ?> <li><a href=<?php echo("$PHP_SELF?dirchoice=" . $darr[$x]) ?> ><?php echo(str_replace("_"," ",$darr[$x])); ?></a></li> <?php } ?> </ul>