Yeh, thou you can't exacly do a bind function, what this would require is that you just do a query on the database and you use the "limit offset,maxshown" modifier at the end of the SQL query. And as for your form all you'd have to do is toss in some sort of incremental counter and toss that along as a variable, or if your looking for randomized pic's then use the random functions to pick one before doing the query.
So a simple form using MySQL for the database provider would look something like this:
form.php
<?php
$DBHANDLE = mysql_pconnect($DBHOST, $DBUSER, $DBPASSWORD);
mysql_select_db($DBNAME, $DBHANDLE);
$query = 'select * from tablename limit $offset, 1';
$result = mysql_query($query,$DBHANDLE);
$row = mysql_fetch_array($result);
?>
<form method="post" action="form.php">
<img src="<?php echo $row["filename"]; ?>"><br>
<input type="hidden" name="offset" value="<?php echo $offset+1; ?>">
<input type="submit">
</form>
<?php
mysql_close($OGLCDATABASE);
?>
end
What this would do is propigate the variable name $offset through each form each time adding 1 to it, then each time a query is done to the database it would get the next item. Of couse this will need some error checking to make sure that you're not trying to get entries that don't exist but you get he point. Now if you have any trouble understanding this I suggest obtaining a copy of the php manual and reading the section on MySQL or one of the other compatible database providers.