Forum Moderators: coopster
<the form is here textbox i want to return to is "picname">
$absolute_path = "/path/to/path";
$directory = "funnies/";
switch($action) {
default:
$opendir = "$absolute_path$directory";
$dir = opendir($opendir);
$count = 0; (used later in script)
$bgc = 0;
while($file = readdir($dir)) {
if (($file!= "..") and ($file!= ".")) {
$count++;
$list .= "Picture $count - <return code here i guess > directory=$directory&file=$file";
echo $list;
this is cut down of the main php help would be appreciated i tried looking on google for the return function but it wasnt explained properly