I've been working on a script for displaying screenshots. I got it to work basically, but what happens is that once the script is done executing, none of the HTML code after the script shows up in the browser's source code. Here's what I have right now:
<?php
$show = $_GET['show'];
$first = $_GET['first'];
$last = $_GET['last'];
$num = $first;
function displayscreens($show, $first, $last) {
print "<img src=\"images/" . $show . "/" . $first . ".jpg\"><br><br>\n";
if ($first < $last) {
$first++;
displayscreens($show, $first, $last);
}
else {
exit;
};
};
displayscreens($show, $num, $last);
?>
If you'd like to see a sample page, go here and see what happens at the bottom. Go here to see what it normally looks like. Check the source code of each of them...